Re: [PATCH take 2] pkt_sched: Fix qdisc_watchdog() vs. dev_deactivate() race
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-09-11 11:00:49
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-09-11 11:00:49
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~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt