• Ingo Molnar's avatar
    [PATCH] Avoid small irq preemption recursion window · 026a9448
    Ingo Molnar authored
    This will get rid of the stack recursion possibility that can occur if
    an IRQ happens to hit the IRQ return path right after we've reset
    preempt_count() to 0 and are about to disable interrupts again.
    Trivially fixed by just moving the preempt count update to inside the
    interrupt disable.
    
    This makes the current PREEMPT_ACTIVE method fully work for IRQ
    recursions.
    026a9448
entry.S 19 KB