diff options
| author | Juri Lelli <[email protected]> | 2021-08-10 08:48:15 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2021-09-13 23:32:46 +0000 |
| commit | ebb6d30d9ed1fe7137486e1be2ae9d621e918c4a (patch) | |
| tree | 8410a44321e9f576f68d2363aab8040ce53223a6 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | rcu: Make rcutree_dying_cpu() use its "cpu" parameter (diff) | |
| download | kernel-ebb6d30d9ed1fe7137486e1be2ae9d621e918c4a.tar.gz kernel-ebb6d30d9ed1fe7137486e1be2ae9d621e918c4a.zip | |
rcu: Make rcu_normal_after_boot writable again
Certain configurations (e.g., systems that make heavy use of netns)
need to use synchronize_rcu_expedited() to service RCU grace periods
even after boot.
Even though synchronize_rcu_expedited() has been traditionally
considered harmful for RT for the heavy use of IPIs, it is perfectly
usable under certain conditions (e.g. nohz_full).
Make rcupdate.rcu_normal_after_boot= again writeable on RT (if NO_HZ_
FULL is defined), but keep its default value to 1 (enabled) to avoid
regressions. Users who need synchronize_rcu_expedited() will boot with
rcupdate.rcu_normal_after_ boot=0 in the kernel cmdline.
Reflect the change in synchronize_rcu_expedited_wait() by removing the
WARN related to CONFIG_PREEMPT_RT.
Signed-off-by: Juri Lelli <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
