[PATCH] powerpc/pseries: fix idle sleep early exit state

2008-11-27 Thread Sebastien Dugue
In pseries_dedicated_idle_sleep(), if we need to exit idle during the snooze period (i.e. need_resched or cpu has been offlined), then we should re-disable the interrupts and clear TIF_POLLING_NRFLAG before leaving. Signed-off-by: Sebastien Dugue <[EMAIL PROTECTED]> Cc: Paul Mackerras <[EMAIL P

Re: [PATCH] powerpc/pseries: fix idle sleep early exit state

2008-12-03 Thread Paul Mackerras
Sebastien Dugue writes: > In pseries_dedicated_idle_sleep(), if we need to exit idle during the > snooze period (i.e. need_resched or cpu has been offlined), then we should > re-disable the interrupts and clear TIF_POLLING_NRFLAG before leaving. Are you doing this because of a bug you actually

Re: [PATCH] powerpc/pseries: fix idle sleep early exit state

2008-12-03 Thread Sebastien Dugue
On Wed, 3 Dec 2008 20:38:54 +1100 Paul Mackerras <[EMAIL PROTECTED]> wrote: > Sebastien Dugue writes: > > > In pseries_dedicated_idle_sleep(), if we need to exit idle during the > > snooze period (i.e. need_resched or cpu has been offlined), then we should > > re-disable the interrupts and clea