[ofa-general] Re: [PATCH 2/3][NET_BATCH] net core use batching

Herbert Xu herbert at gondor.apana.org.au
Mon Oct 8 19:03:18 PDT 2007


On Tue, Oct 09, 2007 at 10:01:15AM +0800, Herbert Xu wrote:
> On Mon, Oct 08, 2007 at 06:41:26PM -0700, David Miller wrote:
> >
> > I also want to point out another issue.  Any argument wrt. reordering
> > is specious at best because right now reordering from qdisc to device
> > happens anyways.
> 
> This is not true.
> 
> If your device has a qdisc at all, then you will end up in the
> function qdisc_restart, where we release the queue lock only
> after acquiring the TX lock.
> 
> So right now this path does not create any reordering.

Argh! Someone's just broken this.  I think we should restore
the original behaviour.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the general mailing list