From: Roland Dreier Date: Sun, 18 Jun 2006 03:37:41 +0000 (-0700) Subject: IB/mthca: Make all device methods truly reentrant X-Git-Tag: v2.6.18-rc1~1110^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c93b6fbaa99bb3a1552e14317296be14dde51dfb;p=pandora-kernel.git IB/mthca: Make all device methods truly reentrant Documentation/infiniband/core_locking.txt says: All of the methods in struct ib_device exported by a low-level driver must be fully reentrant. The low-level driver is required to perform all synchronization necessary to maintain consistency, even if multiple function calls using the same object are run simultaneously. However, mthca's modify_qp, modify_srq and resize_cq methods are currently not reentrant. Add a mutex to the QP, SRQ and CQ structures so that these calls can be properly serialized. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed