diff options
| author | Wei Yang <[email protected]> | 2022-04-28 23:16:03 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-04-28 23:16:03 -0700 |
| commit | bc53008eea55330f485c956338d3c59f96c70c08 (patch) | |
| tree | 0b3c686421a908c682edcfa01c76bbe8f79262de /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 36c26128b8983d9af58266c36f23209064e22108 (diff) | |
mm/vmscan: make sure wakeup_kswapd with managed zone
wakeup_kswapd() only wake up kswapd when the zone is managed.
For two callers of wakeup_kswapd(), they are node perspective.
* wake_all_kswapds
* numamigrate_isolate_page
If we picked up a !managed zone, this is not we expected.
This patch makes sure we pick up a managed zone for wakeup_kswapd(). And
it also use managed_zone in migrate_balanced_pgdat() to get the proper
zone.
[[email protected]: adjust the usage in migrate_balanced_pgdat()]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Wei Yang <[email protected]>
Reviewed-by: "Huang, Ying" <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Oscar Salvador <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions