rcu: Remove SRCU throttling
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 Feb 2018 22:20:45 +0000 (14:20 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 21 Feb 2018 00:21:13 +0000 (16:21 -0800)
commit6308f3477510e15391ac82deaee66f8425339014
tree8f2613e517725420d4d00204d5925fb21647dd94
parenta72da917f1861ed06f8824328b1b3ecd003a5b5b
rcu: Remove SRCU throttling

The code in srcu_gp_end() inserts a delay every 0x3ff grace periods in
order to prevent SRCU grace-period work from consuming an entire CPU
when there is a long sequence of expedited SRCU grace-period requests.
However, all of SRCU's grace-period work is carried out in workqueues,
which are in turn within kthreads, which are automatically throttled as
needed by the scheduler.  In particular, if there is plenty of idle time,
there is no point in throttling.

This commit therefore removes the expedited SRCU grace-period throttling.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/srcutree.c