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

Alan Cox
2001-10-08T16:05:36Z

> 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