summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2012-11-29 08:46:05 (GMT)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-02-07 23:10:39 (GMT)
commit3bc97a782cc8c112f64a25143452b06206364cc8 (patch)
treeb09b1d1be6158948d9bb0f848dcd3d66f3b17737 /kernel
parentab4d2986e44c589aa1b647d7da5e21c2707babea (diff)
downloadlinux-fsl-qoriq-3bc97a782cc8c112f64a25143452b06206364cc8.tar.xz
srcu: Remove checks preventing offline CPUs from calling srcu_read_lock()
SRCU has its own statemachine and no longer relies on normal RCU. Its read-side critical section can now be used by an offline CPU, so this commit removes the check and the comments, reverting the SRCU portion of c0d6d01b (rcu: Check for illegal use of RCU from offlined CPUs). It also makes the code match the comments in whatisRCU.txt: g. Do you need read-side critical sections that are respected even though they are in the middle of the idle loop, during user-mode execution, or on an offlined CPU? If so, SRCU is the only choice that will work for you. [ paulmck: There is at least one remaining issue, namely use of lockdep with tracing enabled. ] Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions