]> 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>
Fri, 6 Jul 2012 13:01:50 +0000 (06:01 -0700)
commit54f47b763e3adba4c291549b9feb28f1d4027dd7
tree41310fdbf1b84a20476928afadc3d34b279d8083
parent34971d5875b5ea05bfd037156a81609ebdebb07c
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>
kernel/rcutree.c