Re: [RFC] [patch 4/6 -rt] powerpc 2.6.20-rt8: fix a runtime warnings for xmon

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tsutomu OWA <tsutomu.owa@...>
Cc: <linuxppc-dev@...>, <linux-kernel@...>
Date: Wednesday, March 7, 2007 - 5:16 am

* Tsutomu OWA <tsutomu.owa@toshiba.co.jp> wrote:


i'm not an xmon expert, but maybe it might make more sense to first 
disable preemption, then interrupts - otherwise you could be preempted 
right after having disabled these interrupts (and be scheduled to 
another CPU, etc.). What is the difference between local_irq_save() and 
the above 'disable interrupts' sequence? If it's not the same and 
xmon_core() relied on having hardirqs disabled then it might make sense 
to do a local_irq_save() there, instead of a preempt_disable().

	Ingo
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] [patch 4/6 -rt] powerpc 2.6.20-rt8: fix a runtime ..., Ingo Molnar, (Wed Mar 7, 5:16 am)
Re: [RFC] [patch 4/6 -rt] powerpc 2.6.20-rt8: fix a runtime ..., Benjamin Herrenschmidt, (Wed Mar 7, 6:10 am)
Re: [patch 2/6 -rt] powerpc 2.6.20-rt8: to convert spinlocks..., Benjamin Herrenschmidt, (Wed Mar 7, 10:43 am)