rcu: Make synchronize_rcu_expedited() use sequence-counter scheme
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 25 Jun 2015 22:52:50 +0000 (15:52 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 17 Jul 2015 21:58:52 +0000 (14:58 -0700)
commit543c6158f6dff20a741dfa492771f18ceaa1a109
tree8897854acacf5f31bbd4f861a8b2f9e43dd0190d
parent28f00767e3db933cacc3030f4d9736acd037be2c
rcu: Make synchronize_rcu_expedited() use sequence-counter scheme

Although synchronize_rcu_expedited() uses a sequence-counter scheme, it
is based on a single increment per grace period, which means that tasks
piggybacking off of concurrent grace periods may be forced to wait longer
than necessary.  This commit therefore applies the new sequence-count
functions developed for synchronize_sched_expedited() to speed things
up a bit and to consolidate the sequence-counter implementation.

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