diff options
author | Oscar Salvador <osalvador@suse.de> | 2022-04-29 08:16:09 +0200 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-04-29 08:16:09 +0200 |
commit | 7d6e2d96384556a4f30547803be1f606eb805a62 (patch) | |
tree | eebe113249c776f546788baf286cd09a0ecfe970 /tools/leds | |
parent | mm: migrate: simplify the refcount validation when migrating hugetlb mapping (diff) | |
download | linux-7d6e2d96384556a4f30547803be1f606eb805a62.tar.xz linux-7d6e2d96384556a4f30547803be1f606eb805a62.zip |
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/20220322224016.4574-1-osalvador@suse.de
Signed-off-by: Oscar Salvador <osalvador@suse.de>
Suggested-by: "Huang, Ying" <ying.huang@intel.com>
Reviewed-by: "Huang, Ying" <ying.huang@intel.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Abhishek Goel <huntbag@linux.vnet.ibm.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/leds')
0 files changed, 0 insertions, 0 deletions