On Thu, 2007-10-05 at 22:59 +1000, Herbert Xu wrote:
> jamal <[EMAIL PROTECTED]> wrote:

>                       This release qlock isn't in our source code :)

This is why i defered this to you ;-> 
For completion sake, this is how it looks like:
 
 CPU0                 CPU1
  | wait qlock         |
  |                    |
  |                    + find that return code is 0
  |                    + release qdisc running
  |                    + release qlock
  + grab qlock         + ==> outta here
  | enq pktx           |
  | call qdisc_run     |
  +  grab running
  |  deq etc
  +  release running
  + release qlock
  + ==> outta here    

I wonder how much performance improvement this give now that the extra
incursion into qdisc_restart is avoided.

cheers,
jamal

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to