Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Paul E. McKenney and committed by
Boqun Feng
81a208c5 053ca725

+13 -7
+13 -7
kernel/rcu/Kconfig
··· 323 323 depends on RCU_NOCB_CPU 324 324 default n 325 325 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. 328 331 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. 330 334 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. 332 337 333 338 config RCU_LAZY_DEFAULT_OFF 334 339 bool "Turn RCU lazy invocation off by default" 335 340 depends on RCU_LAZY 336 341 default n 337 342 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. 341 347 342 348 config RCU_DOUBLE_CHECK_CB_TIME 343 349 bool "RCU callback-batch backup time check"