Re: linux interrupt handling problem

Jes Sorensen (Jes.Sorensen@cern.ch)
10 Nov 1999 09:42:31 +0100


>>>>> "Roman" == Roman Zippel <zippel@fh-brandenburg.de> writes:

Roman> Hi, On 9 Nov 1999, Jes Sorensen wrote:

>> I still don't see your point, if all non critical interrupts are
>> running with sti(), then your critical one (ie. serial in this
>> case) can interrupt any time. The serial handler is implemented so
>> it runs with all other interrupts disabled, ie. it never gets
>> disturbed by anyone.
>>
>> Where's the problem?

Roman> Everything is tuned for the serial interrupt and everything
Roman> else is untuned? So what happens if the serial perfomance isn't
Roman> important (e.g. you running only a debug terminal there), but
Roman> you want all perfomance on your ethernet card? And suppose
Roman> there is also some disk activity...

Doesn't matter, since as if the serial port doesn't transfer data you
wont get any interrupts from it. Ethernet itself is very non real time
by nature, so is disk performance ... it is not going to hurt you to
run those as normal interrupts.

Jes

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