Skip to content

Commit ec31107

Browse files
osalvadorvilardagajaywang-amazon
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/[email protected] Signed-off-by: Oscar Salvador <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: Pavel Tatashin <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> (cherry picked from commit f91ef22)
1 parent 4e9b08a commit ec31107

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)