Skip to content

Commit

Permalink
svcrdma: Convert rdma_stat_recv to a per-CPU counter
Browse files Browse the repository at this point in the history
Receives are frequent events. Avoid the overhead of a memory bus
lock cycle for counting a value that is hardly every used.

Signed-off-by: Chuck Lever <[email protected]>
  • Loading branch information
chucklever committed Jan 25, 2021
1 parent 59a0025 commit df971cd
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 7 deletions.
3 changes: 2 additions & 1 deletion include/linux/sunrpc/svc_rdma.h
55 changes: 51 additions & 4 deletions net/sunrpc/xprtrdma/svc_rdma.c
3 changes: 1 addition & 2 deletions net/sunrpc/xprtrdma/svc_rdma_recvfrom.c

0 comments on commit df971cd

Please sign in to comment.