From: Paul E. McKenney Date: Mon, 2 Jul 2012 14:08:42 +0000 (-0700) Subject: Revert "rcu: Move PREEMPT_RCU preemption to switch_to() invocation" X-Git-Tag: v3.5-rc7~7^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cba6d0d64ee53772b285d0c0c288deefbeaf7775;p=pandora-kernel.git Revert "rcu: Move PREEMPT_RCU preemption to switch_to() invocation" This reverts commit 616c310e83b872024271c915c1b9ab505b9efad9. (Move PREEMPT_RCU preemption to switch_to() invocation). Testing by Sasha Levin 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 Signed-off-by: Paul E. McKenney Tested-by: Sasha Levin --- Reading git-diff-tree failed