Revert "rcu: Move PREEMPT_RCU preemption to switch_to() invocation"
This reverts commit 616c310e. (Move PREEMPT_RCU preemption to switch_to() invocation). Testing by Sasha Levin <levinsasha928@gmail.com> showed that this can result in deadlock due to invoking the scheduler when one of the runqueue locks is held. Because this commit was simply a performance optimization, revert it. Reported-by:Sasha Levin <levinsasha928@gmail.com> Signed-off-by:
Paul E. McKenney <paulmck@linux.vnet.ibm.com> Tested-by:
Sasha Levin <levinsasha928@gmail.com>
Showing
- arch/um/drivers/mconsole_kern.c 0 additions, 1 deletionarch/um/drivers/mconsole_kern.c
- include/linux/rcupdate.h 0 additions, 1 deletioninclude/linux/rcupdate.h
- include/linux/rcutiny.h 6 additions, 0 deletionsinclude/linux/rcutiny.h
- include/linux/sched.h 0 additions, 10 deletionsinclude/linux/sched.h
- kernel/rcutree.c 1 addition, 0 deletionskernel/rcutree.c
- kernel/rcutree.h 1 addition, 0 deletionskernel/rcutree.h
- kernel/rcutree_plugin.h 11 additions, 3 deletionskernel/rcutree_plugin.h
- kernel/sched/core.c 0 additions, 1 deletionkernel/sched/core.c
Loading
Please register or sign in to comment