git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff149b2
)
IB/mlx4: Annotate CQ locking
author
Roland Dreier
<rolandd@cisco.com>
Sun, 6 Sep 2009 03:24:49 +0000
(20:24 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Sun, 6 Sep 2009 03:24:49 +0000
(20:24 -0700)
mlx4_ib_lock_cqs()/mlx4_ib_unlock_cqs() are helper functions that
lock/unlock both CQs attached to a QP in the proper order to avoid
AB-BA deadlocks. Annotate this so sparse can understand what's going
on (and warn us if we misuse these functions).
Signed-off-by: Roland Dreier <rolandd@cisco.com>
No differences found