aboutsummaryrefslogtreecommitdiff
path: root/init/Kconfig
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-09-22 15:17:20 -0700
committerRoland Dreier <rolandd@cisco.com>2006-09-22 15:17:20 -0700
commit1ccf6aa19aabc11587d6d7818a5729adfed0e3de (patch)
tree754e213bc201cd338dd6bffa6877872b1e0dcc93 /init/Kconfig
parentab10867621a96230757eb4a2a19d560b85f62ce9 (diff)
IB/uverbs: Fix lockdep warning when QP is created with 2 CQs
Lockdep warns when userspace creates a QP that uses different CQs for send completions and receive completions, because both CQs are locked and their mutexes belong to the same lock class. However, we know that the mutexes are distinct and the nesting is safe (there is no possibility of AB-BA deadlock because the mutexes are locked with down_read()), so annotate the situation with SINGLE_DEPTH_NESTING to get rid of the lockdep warning. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'init/Kconfig')
0 files changed, 0 insertions, 0 deletions