diff options
author | 2019-08-19 18:47:10 -0400 | |
---|---|---|
committer | 2019-08-21 11:06:24 -0400 | |
commit | 6dc6ec9e04c468d994bff6eb660f3146f94cbfd9 (patch) | |
tree | 8fdb4a42ade89bbad59dcafd1f20c6e84ba4c914 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xprtrdma: Ensure creating an MR does not trigger FS writeback (diff) | |
download | wireguard-linux-6dc6ec9e04c468d994bff6eb660f3146f94cbfd9.tar.xz wireguard-linux-6dc6ec9e04c468d994bff6eb660f3146f94cbfd9.zip |
xprtrdma: Cache free MRs in each rpcrdma_req
Instead of a globally-contended MR free list, cache MRs in each
rpcrdma_req as they are released. This means acquiring and releasing
an MR will be lock-free in the common case, even outside the
transport send lock.
The original idea of per-rpcrdma_req MR free lists was suggested by
Shirley Ma <shirley.ma@oracle.com> several years ago. I just now
figured out how to make that idea work with on-demand MR allocation.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions