]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Add RCU context switching to schedule_tail()
authorPaul E. McKenney <paul.mckenney@linaro.org>
Tue, 17 Apr 2012 16:05:37 +0000 (09:05 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 25 Apr 2012 03:55:31 +0000 (20:55 -0700)
commit1bf0ea803f6f1bf828e81f7091b63dca218f8a53
treeecf1a7afb30ed47eb1fae9f28a9ed7e38d6d9151
parentd91c35bdc77f9fbb4ea93253d8dcae66f320c384
rcu: Add RCU context switching to schedule_tail()

The new rcu_read_lock_nesting and rcu_read_unlock_special per-CPU
variables must be saved and restored at every context switch, including
those involving schedule_tail().  This commit therefore adds the saving
and restoring to schedul_tail().

Reported-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Sasha Levin <levinsasha928@gmail.com>
arch/um/drivers/mconsole_kern.c
include/linux/sched.h
kernel/sched/core.c