On Thu, 2007-07-26 at 16:17 -0700, Linus Torvalds wrote:
>
> On Thu, 26 Jul 2007, Linus Torvalds wrote:
> >
> > (c) "one IRQF_DISABLED means that everything runs disabled". This is
> > quite possibly buggy.
>
> (Side note: I'm not claiming this (or it's mirror image (d)) is really any
> better/worse than the current behaviour from a theoretical standpoint, but
> at least the current behaviour is _tested_, which makes it better in
> practice. So if we want to change this, I think we want to change it to
> something that is _obviously_ better).
my personal preference would actually be to just never enable
interrupts. It's the fastest solution obviously, the most friendly on
stack and.. well simplest. Drivers no longer need to play some of the
games that they do today. And while there is an argument that this may
introduce a bit of latency... I'm not really convinced. The real work if
it's really heavy is supposed to happen in not-hard-irq context anyway,
and for all other cases interrupting the original handler is very likely
the most expensive thing in terms of adding latency to the system.
If I remember correctly there have been a few fedora releases which did
this, with no bad behavior.. I don't know if Fedora still does this.
--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]