[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080911110035.GA22065@gondor.apana.org.au>
Date: Thu, 11 Sep 2008 21:00:35 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Miller <davem@...emloft.net>
Cc: jarkao2@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs.
dev_deactivate() race
On Thu, Sep 11, 2008 at 03:49:55AM -0700, David Miller wrote:
>
> Well some kind of check has to be there.
>
> I _did_ remove it during my initial implementation, and that
> turned into a reported performance regression.
I see. How about looking at the queue that the head-of-qdisc
packet maps to? That should be fairly cheap to compute.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists