Skip to content

Commit 1ce2210

Browse files
tehcastertorvalds
authored andcommitted
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 <[email protected]> Acked-by: Mel Gorman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 1f1ffb8 commit 1ce2210

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mm/Kconfig

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ config ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT
624624
bool
625625

626626
config DEFERRED_STRUCT_PAGE_INIT
627-
bool "Defer initialisation of struct pages to kswapd"
627+
bool "Defer initialisation of struct pages to kthreads"
628628
default n
629629
depends on ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT
630630
depends on MEMORY_HOTPLUG
@@ -633,9 +633,10 @@ config DEFERRED_STRUCT_PAGE_INIT
633633
single thread. On very large machines this can take a considerable
634634
amount of time. If this option is set, large machines will bring up
635635
a subset of memmap at boot and then initialise the rest in parallel
636-
when kswapd starts. This has a potential performance impact on
637-
processes running early in the lifetime of the systemm until kswapd
638-
finishes the initialisation.
636+
by starting one-off "pgdatinitX" kernel thread for each node X. This
637+
has a potential performance impact on processes running early in the
638+
lifetime of the system until these kthreads finish the
639+
initialisation.
639640

640641
config IDLE_PAGE_TRACKING
641642
bool "Enable idle page tracking"

0 commit comments

Comments
 (0)