]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
rcu: Remove fast check path from __synchronize_srcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Wed, 22 Feb 2012 21:06:51 +0000 (13:06 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 30 Apr 2012 17:48:20 +0000 (10:48 -0700)
commit4b7a3e9e32114a09c61995048f055615b5d4c26d
tree562ff1829abb99e830b5e3b3719834b059376b03
parentcef50120b61c2af4ce34bc165e19cad66296f93d
rcu: Remove fast check path from __synchronize_srcu()

The fastpath in __synchronize_srcu() is designed to handle cases where
there are a large number of concurrent calls for the same srcu_struct
structure.  However, the Linux kernel currently does not use SRCU in
this manner, so remove the fastpath checks for simplicity.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/srcu.c