lkml.org 
[lkml]   [2000]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] preemptive kernel, preemptive-2.3.52-A7
Date
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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2011 Jasper Spaans