[openib-general] Re: LLTX and netif_stop_queue
Roland Dreier
roland at topspin.com
Sun Dec 19 14:35:26 PST 2004
jamal> How about releasing the qlock only when the LLTX transmit
jamal> lock is grabbed? That should bring it to par with what it
jamal> was originally.
This seems a little risky. I can't point to a specific deadlock but
it doesn't seem right on general principles to unlock in a different
order than you nested the locks when acquiring them -- if I understand
correctly, you're suggesting lock(queue_lock), lock(tx_lock),
unlock(queue_lock), unlock(tx_lock).
Thanks,
Roland
More information about the general
mailing list