]> Git Repo - linux.git/commit - mm/memory_hotplug.c
mm,memory_hotplug: add kernel boot option to enable memmap_on_memory
authorOscar Salvador <[email protected]>
Wed, 5 May 2021 01:39:48 +0000 (18:39 -0700)
committerLinus Torvalds <[email protected]>
Wed, 5 May 2021 18:27:27 +0000 (11:27 -0700)
commite3a9d9fcc3315993de2e9fcd7ea82fab84433815
tree0ae5712c9f1a5b34f8f485bf05887e983b652d1c
parent4a3e5de9c4ec41bb0684b0d4e0c16abc39617d88
mm,memory_hotplug: add kernel boot option to enable memmap_on_memory

Self stored memmap leads to a sparse memory situation which is
unsuitable for workloads that requires large contiguous memory chunks,
so make this an opt-in which needs to be explicitly enabled.

To control this, let memory_hotplug have its own memory space, as
suggested by David, so we can add memory_hotplug.memmap_on_memory
parameter.

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]>
Documentation/admin-guide/kernel-parameters.txt
mm/Makefile
mm/memory_hotplug.c
This page took 0.056999 seconds and 4 git commands to generate.