Paul E. McKenney 616c310e83 rcu: Move PREEMPT_RCU preemption to switch_to() invocation
Currently, PREEMPT_RCU readers are enqueued upon entry to the scheduler.
This is inefficient because enqueuing is required only if there is a
context switch, and entry to the scheduler does not guarantee a context
switch.

The commit therefore moves the enqueuing to immediately precede the
call to switch_to() from the scheduler.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-02 14:43:23 -07:00
..
2012-04-21 12:45:52 -07:00
2012-04-10 22:39:17 -06:00
2012-04-21 01:58:20 -04:00
2012-04-12 12:49:56 -07:00
2012-04-11 14:28:26 +02:00
2012-04-07 09:52:46 -07:00
2012-04-20 17:29:13 -07:00
2012-04-21 01:58:20 -04:00