Commit 7f66f09
rcu: Provide a boot time parameter to control lazy RCU
To allow more flexible arrangements while still provide a single kernel
for distros, provide a boot time parameter to enable/disable lazy RCU.
Specify:
rcutree.enable_rcu_lazy=[y|1|n|0]
Which also requires
rcu_nocbs=all
at boot time to enable/disable lazy RCU.
To disable it by default at build time when CONFIG_RCU_LAZY=y, the new
CONFIG_RCU_LAZY_DEFAULT_OFF can be used.
Signed-off-by: Qais Yousef (Google) <qyousef@layalina.io>
Tested-by: Andrea Righi <andrea.righi@canonical.com>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>1 parent 499d7e7 commit 7f66f09
File tree
3 files changed
+24
-1
lines changed- Documentation/admin-guide
- kernel/rcu
3 files changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5034 | 5034 | | |
5035 | 5035 | | |
5036 | 5036 | | |
| 5037 | + | |
| 5038 | + | |
| 5039 | + | |
| 5040 | + | |
| 5041 | + | |
5037 | 5042 | | |
5038 | 5043 | | |
5039 | 5044 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
317 | 330 | | |
318 | 331 | | |
319 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2753 | 2753 | | |
2754 | 2754 | | |
2755 | 2755 | | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
2756 | 2759 | | |
2757 | 2760 | | |
2758 | 2761 | | |
| |||
2778 | 2781 | | |
2779 | 2782 | | |
2780 | 2783 | | |
| 2784 | + | |
| 2785 | + | |
2781 | 2786 | | |
2782 | 2787 | | |
2783 | 2788 | | |
| |||
2826 | 2831 | | |
2827 | 2832 | | |
2828 | 2833 | | |
2829 | | - | |
| 2834 | + | |
2830 | 2835 | | |
2831 | 2836 | | |
2832 | 2837 | | |
| |||
0 commit comments