From: Paul E. McKenney Date: Thu, 2 Feb 2012 23:42:04 +0000 (-0800) Subject: rcu: Add RCU_NONIDLE() for idle-loop RCU read-side critical sections X-Git-Tag: v3.4-rc1~194^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a2ecf474d3ee8dd5d001490349e422cec52f39f;p=pandora-kernel.git rcu: Add RCU_NONIDLE() for idle-loop RCU read-side critical sections RCU, RCU-bh, and RCU-sched read-side critical sections are forbidden in the inner idle loop, that is, between the rcu_idle_enter() and the rcu_idle_exit() -- RCU will happily ignore any such read-side critical sections. However, things like powertop need tracepoints in the inner idle loop. This commit therefore provides an RCU_NONIDLE() macro that can be used to wrap code in the idle loop that requires RCU read-side critical sections. Suggested-by: Steven Rostedt Signed-off-by: Paul E. McKenney Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett Acked-by: Deepthi Dharwar --- Reading git-diff-tree failed