rcu: use irq-safe locks
commit275a89bdd3868af3008852594d2e169eaf69441b
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 21 Aug 2008 13:14:55 +0000 (21 06:14 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Aug 2008 14:01:02 +0000 (21 16:01 +0200)
tree81ad2537fe871a3e583013dabf6fdba539773332
parent0c925d79234fe77589d8ff3861f9f8bb9e7fc3f6
rcu: use irq-safe locks

Some earlier tip/core/rcu patches caused RCU to incorrectly enable irqs
too early in boot.  This caused Yinghai's repeated-kexec testing to
hit oopses, presumably due to so that device interrupts left over from
the prior kernel instance (which would oops the newly booting kernel
before it got a chance to reset said devices).  This patch therefore
converts all the local_irq_disable()s in rcuclassic.c to local_irq_save().

Besides, I never did like local_irq_disable() anyway.  ;-)

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