android_kernel_google_msm/arch/alpha
Frederic Weisbecker 3b30d3182f alpha: Add missing RCU idle APIs on idle loop
commit 4c94cada48 upstream.

In the old times, the whole idle task was considered
as an RCU quiescent state. But as RCU became more and
more successful overtime, some RCU read side critical
section have been added even in the code of some
architectures idle tasks, for tracing for example.

So nowadays, rcu_idle_enter() and rcu_idle_exit() must
be called by the architecture to tell RCU about the part
in the idle loop that doesn't make use of rcu read side
critical sections, typically the part that puts the CPU
in low power mode.

This is necessary for RCU to find the quiescent states in
idle in order to complete grace periods.

Add this missing pair of calls in the Alpha's idle loop.

Reported-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Tested-by: Michael Cree <mcree@orcon.net.nz>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: alpha <linux-alpha@vger.kernel.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-13 05:38:54 +09:00
..
boot Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
include/asm Redefine ATOMIC_INIT and ATOMIC64_INIT to drop the casts 2012-10-02 10:29:55 -07:00
kernel alpha: Add missing RCU idle APIs on idle loop 2012-10-13 05:38:54 +09:00
lib Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
math-emu alpha: change to new Makefile flag variables 2011-01-17 05:42:13 +01:00
mm Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
oprofile Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
defconfig defconfig reduction 2010-08-14 22:26:53 +02:00
Kconfig alpha: VGA_HOSE depends on VGA_CONSOLE 2012-05-02 15:54:05 -04:00
Kconfig.debug
Makefile