Commit 1ce22103 authored by Vlastimil Babka's avatar Vlastimil Babka Committed by Linus Torvalds

mm/Kconfig: correct description of DEFERRED_STRUCT_PAGE_INIT

The description mentions kswapd threads, while the deferred struct page
initialization is actually done by one-off "pgdatinitX" threads.

Fix the description so that potentially users are not confused about
pgdatinit threads using CPU after boot instead of kswapd.
Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
Acked-by: default avatarMel Gorman <mgorman@techsingularity.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1f1ffb8a
...@@ -624,7 +624,7 @@ config ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT ...@@ -624,7 +624,7 @@ config ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT
bool bool
config DEFERRED_STRUCT_PAGE_INIT config DEFERRED_STRUCT_PAGE_INIT
bool "Defer initialisation of struct pages to kswapd" bool "Defer initialisation of struct pages to kthreads"
default n default n
depends on ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT depends on ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT
depends on MEMORY_HOTPLUG depends on MEMORY_HOTPLUG
...@@ -633,9 +633,10 @@ config DEFERRED_STRUCT_PAGE_INIT ...@@ -633,9 +633,10 @@ config DEFERRED_STRUCT_PAGE_INIT
single thread. On very large machines this can take a considerable single thread. On very large machines this can take a considerable
amount of time. If this option is set, large machines will bring up amount of time. If this option is set, large machines will bring up
a subset of memmap at boot and then initialise the rest in parallel a subset of memmap at boot and then initialise the rest in parallel
when kswapd starts. This has a potential performance impact on by starting one-off "pgdatinitX" kernel thread for each node X. This
processes running early in the lifetime of the systemm until kswapd has a potential performance impact on processes running early in the
finishes the initialisation. lifetime of the system until these kthreads finish the
initialisation.
config IDLE_PAGE_TRACKING config IDLE_PAGE_TRACKING
bool "Enable idle page tracking" bool "Enable idle page tracking"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment