Re: linux interrupt handling problem

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 10 Nov 1999 13:43:01 +0000 (GMT)


> Thats an interesting idea, however it's going to open up a tremendous
> can of worms since you need a way to tag what is 'rt bits' on your
> machine and how to make sure the right subsystems don't disable
> them. Ie. what parts of the serial layer needs to mask out everything
> and which don't.

There are about 250 lines of code involved in doing this. I actually
went through the details. The Sync Z85x30 driver is also written to allow
this and you need about 30 instructions of true IRQ protection from it. Using
the 68k compare-swap you could probably get that lower

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