Re: [announce] [patch] limiting IRQ load, irq-rewrite-2.4.11-B5

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 8 Oct 2001 17:11:03 +0100 (BST)


> Agreed if you add the polling cardbus bit.
> Note polling cardbus would require more changes than the above.

I don't think it does. There are two pieces to the problem

a) Not dying horribly
b) Handling it elegantly

b) is driver specific (NAPI etc) and I think well understood to the point
its being used already for performance reasons

a) is as simple as

if(stuck_in_irq(foo) && irq_shared(foo))
{
disable_real_irq(foo);
timer_fake_irq_foo();
}

We know spoofing a shared irq is safe.

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