diff options
| author | SeongJae Park <[email protected]> | 2024-07-01 09:53:32 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-04 18:05:50 -0700 |
| commit | 64548bc5347bd0517ae25f8a7076e7f3193f4f19 (patch) | |
| tree | 866ea8cb988118fbb540c66deebc1f2e3ca20910 /tools/perf/scripts/python/netdev-times.py | |
| parent | 593a10dabe08dcf93259fce2badd8dc2528859a8 (diff) | |
mm/damon/paddr: initialize nr_succeeded in __damon_pa_migrate_folio_list()
The variable is supposed to be set via later migrate_pages() call.
However, the function does not do that when CONFIG_MIGRATION is unset.
Initialize the variable to zero.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 5311c0a2eee3 ("mm/damon/paddr: introduce DAMOS_MIGRATE_COLD action for demotion")
Signed-off-by: SeongJae Park <[email protected]>
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Cc: Honggyu Kim <[email protected]>
Cc: Hyeongtak Ji <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions