linux/arch/score/kernel
Frederic Weisbecker 0ee23fda59 score: Add missing RCU idle APIs on idle loop
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 scores's idle loop.

Reported-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Cc: <stable@vger.kernel.org> # 3.3+
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2012-09-23 07:44:50 -07:00
..
asm-offsets.c
entry.S score: fix off-by-one index into syscall table 2012-01-23 08:38:49 -08:00
head.S
irq.c score: Use generic show_interrupts() 2011-03-28 12:03:35 +08:00
Makefile score: Use generic init_task 2012-05-05 13:00:25 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
process.c score: Add missing RCU idle APIs on idle loop 2012-09-23 07:44:50 -07:00
ptrace.c ptrace: cleanup arch_ptrace() on score 2010-10-27 18:03:12 -07:00
setup.c score: Use HAVE_MEMBLOCK_NODE_MAP 2011-12-08 10:22:09 -08:00
signal.c new helper: signal_delivered() 2012-06-01 12:58:52 -04:00
sys_call_table.c score: add generic sys_call_table 2009-06-19 14:10:33 +02:00
sys_score.c Make do_execve() take a const filename pointer 2010-08-17 18:07:43 -07:00
time.c score: fix function prototypes 2009-06-27 15:14:58 +02:00
traps.c score: update files according to review comments 2009-06-19 11:40:13 +02:00
vmlinux.lds.S score: Cleanup linker script using new macros. 2009-09-23 13:41:15 +08:00