]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Add lockless lookup of the server's auth domain
authorTrond Myklebust <trondmy@gmail.com>
Mon, 1 Oct 2018 14:41:44 +0000 (10:41 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Oct 2018 15:32:59 +0000 (11:32 -0400)
commit2bd8273d1a14d6af3d8b0e17a40cac7ca73334f6
tree26382fa9fd57a2f549fb991c067c72257a2b2b61
parent85650f4fb5f3c5d967a73dfbca91da4d4766f19b
SUNRPC: Add lockless lookup of the server's auth domain

Avoid taking the global auth_domain_lock in most lookups of the auth domain
by adding an RCU protected lookup.

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