rcu: Simplify RCU CPU-hotplug notification
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 15 Aug 2009 16:53:48 +0000 (09:53 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 15 Aug 2009 17:02:08 +0000 (19:02 +0200)
commit2e597558086dec36d5c33521a36e0f6b1bc3f3a7
treece8c6ced1c8a3b6bf6170a5894e1d7102e6ee9d4
parent799e64f05f4bfaad2bb3165cab95c8c992a1c296
rcu: Simplify RCU CPU-hotplug notification

Use the new cpu_notifier() API to simplify RCU's CPU-hotplug
notifiers, collapsing down to a single such notifier.

This makes it trivial to provide the notifier-ordering
guarantee that rcu_barrier() depends on.

Also remove redundant open_softirq() calls from Hierarchical
RCU notifier.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: josht@linux.vnet.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: hugh.dickins@tiscali.co.uk
Cc: benh@kernel.crashing.org
LKML-Reference: <12503552312510-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/rcupdate.c
kernel/rcupreempt.c
kernel/rcutree.c