Subject: Re: [patch] preemptive kernel, preemptive-2.3.52-A7
From: Manfred Spraul (manfreds@colorfullife.com)
Date: Tue Mar 14 2000 - 12:11:33 PST
From: "Ingo Molnar" <mingo@chiara.csoma.elte.hu>
>
> movl blah, %eax
> decl %eax
> movl %eax, blah
>
> although this does not happen on x86 currently, it could theoretically.
I've seen such code from egcs-1.1.2, IIRC in do_softirq().
What about adding atomic_xy_local() to the normal kernel?
* raise_softirq() contains a local_irq_save(), we could remove that.
* i386 only: do_nmi() could use atomic_inc_local() for the nmi_counter.
Ingo, it seems you overlooked the global variable nmi_counter in
arch/i386/kernel/io_apic.c when you added the variable to irq_stat.
Could you remove it?
--
Manfred
This archive was generated by hypermail 2a22 : Sat Apr 01 2000 - 04:15:04 PST