The patch titled Subject: mm-add-build-time-option-for-hotplug-memory-default-online-type-v4 has been added to the -mm mm-unstable branch. Its filename is mm-add-build-time-option-for-hotplug-memory-default-online-type-v4.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-add-build-time-option-for-hotplug-memory-default-online-type-v4.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Gregory Price <gourry@xxxxxxxxxx> Subject: mm-add-build-time-option-for-hotplug-memory-default-online-type-v4 Date: Thu, 26 Dec 2024 11:29:18 -0700 update KConfig comments Link: https://lkml.kernel.org/r/20241226182918.648799-1-gourry@xxxxxxxxxx Signed-off-by: Gregory Price <gourry@xxxxxxxxxx> Acked-by: David Hildenbrand <david@xxxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: Huacai Chen <chenhuacai@xxxxxxxxxx> Cc: Jonathan Corbet <corbet@xxxxxxx> Cc: Oscar Salvador <osalvador@xxxxxxx> Cc: "Rafael J. Wysocki" <rafael@xxxxxxxxxx> Cc: WANG Xuerui <kernel@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/Kconfig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) --- a/mm/Kconfig~mm-add-build-time-option-for-hotplug-memory-default-online-type-v4 +++ a/mm/Kconfig @@ -554,7 +554,7 @@ choice prompt "Memory Hotplug Default Online Type" default MHP_DEFAULT_ONLINE_TYPE_OFFLINE help - Default memory type for driver managed hotplug memory. + Default memory type for hotplugged memory. This option sets the default policy setting for memory hotplug onlining policy (/sys/devices/system/memory/auto_online_blocks) which @@ -575,7 +575,7 @@ choice config MHP_DEFAULT_ONLINE_TYPE_OFFLINE bool "offline" help - Driver managed memory will not be onlined by default. + Hotplugged memory will not be onlined by default. Choose this for systems with drivers and user policy that handle onlining of hotplug memory policy. @@ -583,22 +583,22 @@ config MHP_DEFAULT_ONLINE_TYPE_ONLINE_AU bool "auto" help Select this if you want the kernel to automatically online - memory into the zone it thinks is reasonable. This memory - may be utilized for kernel data (e.g. page tables). + hotplugged memory into the zone it thinks is reasonable. + This memory may be utilized for kernel data. config MHP_DEFAULT_ONLINE_TYPE_ONLINE_KERNEL bool "kernel" help Select this if you want the kernel to automatically online - hotplug memory into a zone capable of being used for kernel - data (e.g. page tables). This typically means ZONE_NORMAL. + hotplugged memory into a zone capable of being used for kernel + data. This typically means ZONE_NORMAL. config MHP_DEFAULT_ONLINE_TYPE_ONLINE_MOVABLE bool "movable" help Select this if you want the kernel to automatically online hotplug memory into ZONE_MOVABLE. This memory will generally - not be utilized for kernel data (e.g. page tables). + not be utilized for kernel data. This should only be used when the admin knows sufficient ZONE_NORMAL memory is available to describe hotplug memory, _ Patches currently in -mm which might be from gourry@xxxxxxxxxx are mm-add-build-time-option-for-hotplug-memory-default-online-type.patch mm-add-build-time-option-for-hotplug-memory-default-online-type-v4.patch