diff options
| author | Oscar Salvador <[email protected]> | 2022-04-28 23:16:09 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-04-28 23:16:09 -0700 |
| commit | 7d6e2d96384556a4f30547803be1f606eb805a62 (patch) | |
| tree | eebe113249c776f546788baf286cd09a0ecfe970 /tools/perf/scripts/python | |
| parent | 9c42fe4e30a9b934b1de66c2edca196563221392 (diff) | |
mm: untangle config dependencies for demote-on-reclaim
At the time demote-on-reclaim was introduced, it was tied to
CONFIG_HOTPLUG_CPU + CONFIG_MIGRATE, but that is not really accurate.
The only two things we need to depend on are CONFIG_NUMA + CONFIG_MIGRATE,
so clean this up. Furthermore, we only register the hotplug memory
notifier when the system has CONFIG_MEMORY_HOTPLUG.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Oscar Salvador <[email protected]>
Suggested-by: "Huang, Ying" <[email protected]>
Reviewed-by: "Huang, Ying" <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Abhishek Goel <[email protected]>
Cc: Baolin Wang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions