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

Pavel Machek
2001-10-13T19:36:20Z

Hi!

> > 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();
> }

I'd kill irq_shared() test, and added a printk :-).
Pavel
--
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.