rcu: Move wakeup out from under rnp->lock
authorPeter Zijlstra <peterz@infradead.org>
Wed, 4 Nov 2015 16:22:05 +0000 (08:22 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 8 Dec 2015 01:01:32 +0000 (17:01 -0800)
commite11f13355b09df970495c45ed0eac1dc85dcf5c1
treeddb524a993db0cbda01426fa992a8702325ea2b1
parentf039f0af081746933d5dec3229637a18fab791ed
rcu: Move wakeup out from under rnp->lock

This patch removes a potential deadlock hazard by moving the
wake_up_process() in rcu_spawn_gp_kthread() out from under rnp->lock.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c