Skip to content
Snippets Groups Projects
Commit cba6d0d6 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarSasha Levin <levinsasha928@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: default avatarSasha Levin <levinsasha928@gmail.com>
parent 6887a413
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment