]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Replace the cache_detail->hash_lock with a regular spinlock
authorTrond Myklebust <trondmy@gmail.com>
Mon, 1 Oct 2018 14:41:52 +0000 (10:41 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 29 Oct 2018 20:58:04 +0000 (16:58 -0400)
commit522b2d7451c3a845a09fc9c34105cbb5bf18f2a1
tree992c15ae2c740f4422ba9e29653389c856c3986a
parent829c0ae614a87b860ad77ed24ecf3622ee1cf6b6
SUNRPC: Replace the cache_detail->hash_lock with a regular spinlock

Now that the reader functions are all RCU protected, use a regular
spinlock rather than a reader/writer lock.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/cache.h
net/sunrpc/cache.c