aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2016-02-05 18:36:21 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2016-02-05 21:10:40 -0500
commit1ce221036b83288358d8d5d5ff1784657b3ab4e9 (patch)
treea7af889f2106a42ae68cae72734f9755da1e6ba7
parent1f1ffb8a151e8c59899c78019f76cb8f64be13f5 (diff)
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: Vlastimil Babka <vbabka@suse.cz> Acked-by: Mel Gorman <mgorman@techsingularity.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/Kconfig9
1 files changed, 5 insertions, 4 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 97a4e06b15c0..03cbfa072f42 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -624,7 +624,7 @@ config ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT
624 bool 624 bool
625 625
626config DEFERRED_STRUCT_PAGE_INIT 626config DEFERRED_STRUCT_PAGE_INIT
627 bool "Defer initialisation of struct pages to kswapd" 627 bool "Defer initialisation of struct pages to kthreads"
628 default n 628 default n
629 depends on ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT 629 depends on ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT
630 depends on MEMORY_HOTPLUG 630 depends on MEMORY_HOTPLUG
@@ -633,9 +633,10 @@ config DEFERRED_STRUCT_PAGE_INIT
633 single thread. On very large machines this can take a considerable 633 single thread. On very large machines this can take a considerable
634 amount of time. If this option is set, large machines will bring up 634 amount of time. If this option is set, large machines will bring up
635 a subset of memmap at boot and then initialise the rest in parallel 635 a subset of memmap at boot and then initialise the rest in parallel
636 when kswapd starts. This has a potential performance impact on 636 by starting one-off "pgdatinitX" kernel thread for each node X. This
637 processes running early in the lifetime of the systemm until kswapd 637 has a potential performance impact on processes running early in the
638 finishes the initialisation. 638 lifetime of the system until these kthreads finish the
639 initialisation.
639 640
640config IDLE_PAGE_TRACKING 641config IDLE_PAGE_TRACKING
641 bool "Enable idle page tracking" 642 bool "Enable idle page tracking"