netdev
[Top] [All Lists]

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

To: hadi@xxxxxxxxxx (jamal)
Subject: Re: [announce] [patch] limiting IRQ load, irq-rewrite-2.4.11-B5
From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 8 Oct 2001 17:11:03 +0100 (BST)
Cc: alan@xxxxxxxxxxxxxxxxxxx (Alan Cox), jgarzik@xxxxxxxxxxxxxxxx (Jeff Garzik), andrea@xxxxxxx (Andrea Arcangeli), mingo@xxxxxxx (Ingo Molnar), linux-kernel@xxxxxxxxxxxxxxx (Linux-Kernel), netdev@xxxxxxxxxxx, torvalds@xxxxxxxxxxxxx (Linus Torvalds)
In-reply-to: <Pine.GSO.4.30.0110081146050.5473-100000@xxxxxxxxxxxxxxxx> from "jamal" at Oct 08, 2001 11:57:11 AM
Sender: owner-netdev@xxxxxxxxxxx
> 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

<Prev in Thread] Current Thread [Next in Thread>