• R
    IB/uverbs: Fix lockdep warning when QP is created with 2 CQs · 1ccf6aa1
    Roland Dreier 提交于
    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: NRoland Dreier <rolandd@cisco.com>
    1ccf6aa1
uverbs_cmd.c 53.1 KB