sched, rcu: Make RCU use resched_cpu()
authorPeter Zijlstra <peterz@infradead.org>
Tue, 17 Sep 2013 07:30:55 +0000 (09:30 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 25 Sep 2013 11:53:08 +0000 (13:53 +0200)
commitb021fe3e25094fbec22d0eff846d2adeee1b9736
tree6193cc7952f980625e9f77c76f650fb2a7844071
parent0c44c2d0f459cd7e275242b72f500137c4fa834d
sched, rcu: Make RCU use resched_cpu()

We're going to deprecate and remove set_need_resched() for it will do
the wrong thing. Make an exception for RCU and allow it to use
resched_cpu() which will do the right thing.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/n/tip-2eywnacjl1nllctl1nszqa5w@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/rcutree.c
kernel/sched/core.c