diff options
| author | Chuck Lever <[email protected]> | 2020-03-03 18:28:14 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2020-03-16 16:04:33 +0000 |
| commit | 0dabe948f28274e7956a625a24f205016b810693 (patch) | |
| tree | 520f4aa1ad1e6973d3e5d0914927988134548644 /net/sunrpc/svcauth_unix.c | |
| parent | svcrdma: Fix double sync of transport header buffer (diff) | |
| download | kernel-0dabe948f28274e7956a625a24f205016b810693.tar.gz kernel-0dabe948f28274e7956a625a24f205016b810693.zip | |
svcrdma: Avoid DMA mapping small RPC Replies
On some platforms, DMA mapping part of a page is more costly than
copying bytes. Indeed, not involving the I/O MMU can help the
RPC/RDMA transport scale better for tiny I/Os across more RDMA
devices. This is because interaction with the I/O MMU is eliminated
for each of these small I/Os. Without the explicit unmapping, the
NIC no longer needs to do a costly internal TLB shoot down for
buffers that are just a handful of bytes.
Since pull-up is now a more a frequent operation, I've introduced a
trace point in the pull-up path. It can be used for debugging or
user-space tools that count pull-up frequency.
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
0 files changed, 0 insertions, 0 deletions
