]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Prevent offline CPUs from executing RCU core code
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 21 Jun 2012 16:54:10 +0000 (09:54 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 20 Sep 2012 21:55:39 +0000 (14:55 -0700)
commit4bad24196b767f6eec57e930f57fd69ba7a00f45
treeb5350b7788e59770cfa3e7cedca484e83159afed
parent0b6a33301b183a24ed29c979ee8b43e334a78133
rcu: Prevent offline CPUs from executing RCU core code

Earlier versions of RCU invoked the RCU core from the CPU_DYING notifier
in order to note a quiescent state for the outgoing CPU.  Because the
CPU is marked "offline" during the execution of the CPU_DYING notifiers,
the RCU core had to tolerate being invoked from an offline CPU.  However,
commit b1420f1c (Make rcu_barrier() less disruptive) left only tracing
code in the CPU_DYING notifier, so the RCU core need no longer execute
on offline CPUs.  This commit therefore enforces this restriction.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutree.c