]> git.baikalelectronics.ru Git - kernel.git/commit
svcrdma: Clean up dto_q critical section in svc_rdma_recvfrom()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 1 Mar 2021 15:44:49 +0000 (10:44 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 31 Mar 2021 19:58:48 +0000 (15:58 -0400)
commitc5f8d7d34a06932d4bcc2a95a1471f67008119d4
treeee5cc39c1c0ab30bbe830436b25b1c039c80d969
parent93600e24242ca6094dddbb66b2f0c13a2c640079
svcrdma: Clean up dto_q critical section in svc_rdma_recvfrom()

This, to me, seems less cluttered and less redundant. I was hoping
it could help reduce lock contention on the dto_q lock by reducing
the size of the critical section, but alas, the only improvement is
readability.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c