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

No differences found