Re: Lockups - lost interrupt

Matti Aarnio (mingo@chiara.csoma.elte.hu)
Mon, 13 Sep 1999 16:39:32 +0200 (CEST)


On Mon, 13 Sep 1999 yodaiken@chelm.cs.nmt.edu wrote:

> > what labels do you mean?
>
> If you look at the build irq macros, you will see that common irq
> has a label on the line of code that does "call do_IRQ" [...]

oh, ok, i see it.

> #define __cli() irq_control.do_cli()

i'm not sure wether this will ever be accepted into the main kernel -
__cli()/__sti()/etc. right now is heavily used and inlined (mostly via
spinlocks) and it's a single instruction. Maybe building a table of 'cli,
sti, popfl, pushfl' addresses into a special section can do the trick
without interfering with the 'normal' kernel? A single-instruction 'int 3'
could be patched into those places, or something like that.

-- mingo

-
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/