• Paul Mackerras's avatar
    [PATCH] PPC64 Call preempt_schedule on exception exit · f4d0d3c5
    Paul Mackerras authored
    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.
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    f4d0d3c5
entry.S 18.8 KB