linux/net/sunrpc/xprtrdma
Chuck Lever 6c8c84f525 svcrdma: Fewer calls to wake_up() in Send completion handler
Because wake_up() takes an IRQ-safe lock, it can be expensive,
especially to call inside of a single-threaded completion handler.
What's more, the Send wait queue almost never has waiters, so
most of the time, this is an expensive no-op.

As always, the goal is to reduce the average overhead of each
completion, because a transport's completion handlers are single-
threaded on one CPU core. This change reduces CPU utilization of
the Send completion thread by 2-3% on my server.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-By: Tom Talpey <tom@talpey.com>
2021-08-17 11:47:53 -04:00
..
backchannel.c xprtrdma: Delete rpcrdma_recv_buffer_put() 2021-04-26 09:24:12 -04:00
frwr_ops.c xprtrdma: Fix a NULL dereference in frwr_unmap_sync() 2021-05-01 19:42:22 -04:00
Makefile svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
module.c SUNRPC: xprt_load_transport() needs to support the netid "rdma6" 2020-12-02 14:05:52 -05:00
rpc_rdma.c xprtrdma: Revert 586a0787ce 2021-05-27 08:46:19 -04:00
svc_rdma_backchannel.c svcrdma: Normalize Send page handling 2021-03-22 13:22:13 -04:00
svc_rdma_pcl.c svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
svc_rdma_recvfrom.c svcrdma: Clean up dto_q critical section in svc_rdma_recvfrom() 2021-03-31 15:58:48 -04:00
svc_rdma_rw.c svcrdma: Fewer calls to wake_up() in Send completion handler 2021-08-17 11:47:53 -04:00
svc_rdma_sendto.c svcrdma: Fewer calls to wake_up() in Send completion handler 2021-08-17 11:47:53 -04:00
svc_rdma_transport.c svcrdma: Remove sc_read_complete_q 2021-03-31 15:57:48 -04:00
svc_rdma.c svcrdma: Deprecate stat variables that are no longer used 2021-01-25 09:36:28 -05:00
transport.c sunrpc: keep track of the xprt_class in rpc_xprt structure 2021-07-08 14:03:23 -04:00
verbs.c SUNRPC: More fixes for backlog congestion 2021-05-26 06:36:13 -04:00
xprt_rdma.h SUNRPC: More fixes for backlog congestion 2021-05-26 06:36:13 -04:00