]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/ksysfs.c
rcu: Add rcu_normal kernel parameter to suppress expediting
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 24 Nov 2015 23:44:06 +0000 (15:44 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 4 Dec 2015 20:26:53 +0000 (12:26 -0800)
commit5a9be7c628c5273f84abacebf7faf2488376e0f0
tree4d39aabecb8cc7542a053b3f9761f8e119f25450
parent72611ab9f5d2d384a04e72d560c9c82463115cbf
rcu: Add rcu_normal kernel parameter to suppress expediting

Although expedited grace periods can be quite useful, and although their
OS jitter has been greatly reduced, they can still pose problems for
extreme real-time workloads.  This commit therefore adds a rcu_normal
kernel boot parameter (which can also be manipulated via sysfs)
to suppress expedited grace periods, that is, to treat requests for
expedited grace periods as if they were requests for normal grace periods.
If both rcu_expedited and rcu_normal are specified, rcu_normal wins.
This means that if you are relying on expedited grace periods to speed up
boot, you will want to specify rcu_expedited on the kernel command line,
and then specify rcu_normal via sysfs once boot completes.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/kernel-parameters.txt
include/linux/rcupdate.h
kernel/ksysfs.c
kernel/rcu/srcu.c
kernel/rcu/tree.c
kernel/rcu/tree_plugin.h
kernel/rcu/update.c