[PATCH] PPC64 Call preempt_schedule on exception exit

Ingo Molnar mingo at elte.hu
Sun Jan 16 01:04:38 EST 2005

* Paul Mackerras <paulus at samba.org> wrote:

> This patch mirrors the recent changes on x86 to call preempt_schedule
> rather than schedule in the exception exit path, in the case where the
> preempt_count is zero and the TIF_NEED_RESCHED bit is set.
> I'm a little concerned that this means that we have a window where
> interrupts are enabled and we are on our way into preempt_schedule,
> but preempt_count is still zero.  Ingo's proposed preempt_schedule_irq
> would fix this, and I think something like that should go in.

the preempt_schedule_irq() patch is in 2.6.11-rc1-mm1 now, does it look
good to you? ppc64 should be able to call it directly from lowlevel


More information about the Linuxppc64-dev mailing list