]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rcu: Use rsp->expedited_wq instead of sync_rcu_preempt_exp_wq
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 30 Jul 2015 00:28:11 +0000 (17:28 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 21 Sep 2015 04:16:17 +0000 (21:16 -0700)
commitf4ecea309d3e17ba5e90082308125ad23bd5701b
treebf7623bc786bc0c9709a17aac6b459e7b1d21656
parent19a5ecde086a6a5287978b12ae948fa691b197b7
rcu: Use rsp->expedited_wq instead of sync_rcu_preempt_exp_wq

Now that there is an ->expedited_wq waitqueue in each rcu_state structure,
there is no need for the sync_rcu_preempt_exp_wq global variable.  This
commit therefore substitutes ->expedited_wq for sync_rcu_preempt_exp_wq.
It also initializes ->expedited_wq only once at boot instead of at the
start of each expedited grace period.

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