Skip to content

Commit 81a208c

Browse files
paulmckrcufbq
authored andcommitted
rcu: Clarify RCU_LAZY and RCU_LAZY_DEFAULT_OFF help text
This commit wordsmiths the RCU_LAZY and RCU_LAZY_DEFAULT_OFF Kconfig options' help text. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
1 parent 053ca72 commit 81a208c

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

kernel/rcu/Kconfig

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -323,21 +323,27 @@ config RCU_LAZY
323323
depends on RCU_NOCB_CPU
324324
default n
325325
help
326-
To save power, batch RCU callbacks and flush after delay, memory
327-
pressure, or callback list growing too big.
326+
To save power, batch RCU callbacks and delay starting the
327+
corresponding grace period for multiple seconds. The grace
328+
period will be started after this delay, in case of memory
329+
pressure, or if the corresponding CPU's callback list grows
330+
too large.
328331

329-
Requires rcu_nocbs=all to be set.
332+
These delays happen only on rcu_nocbs CPUs, that is, CPUs
333+
whose callbacks have been offloaded.
330334

331-
Use rcutree.enable_rcu_lazy=0 to turn it off at boot time.
335+
Use the rcutree.enable_rcu_lazy=0 kernel-boot parameter to
336+
globally disable these delays.
332337

333338
config RCU_LAZY_DEFAULT_OFF
334339
bool "Turn RCU lazy invocation off by default"
335340
depends on RCU_LAZY
336341
default n
337342
help
338-
Allows building the kernel with CONFIG_RCU_LAZY=y yet keep it default
339-
off. Boot time param rcutree.enable_rcu_lazy=1 can be used to switch
340-
it back on.
343+
Build the kernel with CONFIG_RCU_LAZY=y, but cause the kernel
344+
to boot with these energy-efficiency delays disabled. Use the
345+
rcutree.enable_rcu_lazy=0 kernel-boot parameter to override
346+
the this option at boot time, thus re-enabling these delays.
341347

342348
config RCU_DOUBLE_CHECK_CB_TIME
343349
bool "RCU callback-batch backup time check"

0 commit comments

Comments
 (0)