Re: NAPI Race?

From: kuznet
Date: Wed Oct 08 2003 - 14:58:14 EST


Hello!

> interrupted for some other reason, the packet will get processed only at
> the next jiffie when the soft irq is invoked again.
>
> Am I mistaken?

Yes, you are wrong. It is processed as soon as possible.


> As an aside, it looks also as though the design might technically allow
> the network driver to starve the CPU (the very situation NAPI was
> designed to protect against).

Nope. NAPI is not expected to cure starvation caused by softirqs.

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