Re: Possible race condition in i386 global_irq_lock handling.

From: Stephan von Krawczynski
Date: Fri Aug 22 2003 - 05:11:48 EST


On Fri, 22 Aug 2003 10:18:40 +0900
TeJun Huh <tejun@xxxxxxxxxxxxx> wrote:

> I'm attaching patch for i386. It makes three changes.
>
> 1. add smp_mb() between local_irq_count++ and global_irq_lock test
> in irq_enter().
> 2. add smp_mb__after_clear_bit() before irqs_running() test in
> wait_on_irq().
> 3. remove irqs_running() test from synchronize_irq()

Thank you TeJun,

I have started tests and will provide feedback if your patch has any influence
on my problem. This may take some days.

Regards,
Stephan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/