]> 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)
commit0ca22d5efd06ca89532917aad55693cb08fd3daa
treeee5cc39c1c0ab30bbe830436b25b1c039c80d969
parent79ea653016904f397758d510f3db6ff4b3cee52c
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