]> git.baikalelectronics.ru Git - kernel.git/commit
svcrdma: Convert rdma_stat_sq_starve to a per-CPU counter
authorChuck Lever <chuck.lever@oracle.com>
Tue, 29 Dec 2020 20:55:17 +0000 (15:55 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 25 Jan 2021 14:36:28 +0000 (09:36 -0500)
commit22df5a22462e836ccb30634c3a52602091179a73
tree26ac5784c1285499b0a1598cba5a3eab27658ebe
parentdf971cd853c05778ae1175e8aeb80a04bb9d4be5
svcrdma: Convert rdma_stat_sq_starve to a per-CPU counter

Avoid the overhead of a memory bus lock cycle for counting a value
that is hardly every used.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma.c
net/sunrpc/xprtrdma/svc_rdma_rw.c
net/sunrpc/xprtrdma/svc_rdma_sendto.c