Skip to content

Commit a4cc3a7

Browse files
osalvadorvilardagaheynemax
authored andcommitted
x86/Kconfig: introduce ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE
Enable x86_64 platform to use the MHP_MEMMAP_ON_MEMORY feature. Link: https://lkml.kernel.org/r/20210421102701.25051-8-osalvador@suse.de Signed-off-by: Oscar Salvador <osalvador@suse.de> Reviewed-by: David Hildenbrand <david@redhat.com> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Pavel Tatashin <pasha.tatashin@soleen.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit f91ef22)
1 parent 78a8b8d commit a4cc3a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/x86/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2535,6 +2535,9 @@ config ARCH_ENABLE_MEMORY_HOTREMOVE
25352535
def_bool y
25362536
depends on MEMORY_HOTPLUG
25372537

2538+
config ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE
2539+
def_bool y
2540+
25382541
config USE_PERCPU_NUMA_NODE_ID
25392542
def_bool y
25402543
depends on NUMA

0 commit comments

Comments
 (0)