diff options
author | Trond Myklebust <trondmy@gmail.com> | 2018-10-03 19:01:22 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-10-29 23:57:59 +0300 |
commit | ae74136b4bb64440a55117e12065b8c282ab6c1a (patch) | |
tree | 1f1c8cd8581aac2bcc3dc037aaed5387c85966dc /lib/locking-selftest-softirq.h | |
parent | b92a8fababa9d18910a54b957be55fef7f603531 (diff) | |
download | linux-ae74136b4bb64440a55117e12065b8c282ab6c1a.tar.xz |
SUNRPC: Allow cache lookups to use RCU protection rather than the r/w spinlock
Instead of the reader/writer spinlock, allow cache lookups to use RCU
for looking up entries. This is more efficient since modifications can
occur while other entries are being looked up.
Note that for now, we keep the reader/writer spinlock until all users
have been converted to use RCU-safe freeing of their cache entries.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'lib/locking-selftest-softirq.h')
0 files changed, 0 insertions, 0 deletions