On Tue, Apr 27, 2010 at 08:00:02AM -0500, Anthony Liguori wrote:
> On 04/27/2010 06:11 AM, Gleb Natapov wrote:
> >Network cards have low number of rx/tx buffers interrupt. This is also
> >heuristic. Do you think driver should poll for this event instead and
> >NIC designers just wasted their time designing the feature?
> 
> I don't see how the two cases are at all similar.
> 
They are the same. They send notification when resource is low.

> More importantly, I don't see what the burden is of polling when
> you're talking about a very unusual statistic that has a very
> limited use case.
> 
Poll is the wrong answer. Always. The statistic is very common and has
wide use case unless you have unlimited storage.


--
                        Gleb.


Reply via email to