]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: fix locking cleanup fallout
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 19 Aug 2008 00:51:08 +0000 (17:51 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Aug 2008 02:15:36 +0000 (04:15 +0200)
commiteff9b713ee3540ddab862095aaf4b1511a6758bc
tree4ca1e0610453addd1701ecddbcb885c88ed30be1
parentded00a56e99555c3f4000ef3eebfd5fe0d574565
rcu: fix locking cleanup fallout

Given that the rcp->lock is now acquired from call_rcu(), which can be
invoked from irq-disable regions, all acquisitions need to disable irqs.
The following patch fixes this.

Although I don't have any reason to believe that this is the cause of
Yinghai's oops, it does need to be fixed.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/rcuclassic.c