rcu: Simplify offline processing
authorPaul E. McKenney <paul.mckenney@linaro.org>
Sat, 7 Jan 2012 19:03:57 +0000 (11:03 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Feb 2012 17:03:34 +0000 (09:03 -0800)
commite5601400081651060a59bd1f45f2821bb8e97f95
tree391e7e0b08d8b642eca260950c7f052832411aa9
parentae1f18e480c83d15539fb234a2dc5f0aa04cb119
rcu: Simplify offline processing

Move ->qsmaskinit and blkd_tasks[] manipulation to the CPU_DYING
notifier.  This simplifies the code by eliminating a potential
deadlock and by reducing the responsibilities of force_quiescent_state().
Also rename functions to make their connection to the CPU-hotplug
stages explicit.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c
kernel/rcutree.h
kernel/rcutree_plugin.h