diff options
author | NeilBrown <neilb@suse.de> | 2024-07-15 17:14:19 +1000 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-09-20 19:31:03 -0400 |
commit | 9dcbc4e07087f750010c32b1c56fe1af8792a0ca (patch) | |
tree | fa916a94140c165614682537eec177aa35a02e6e /scripts/gdb/linux/vmalloc.py | |
parent | 60749cbe3d8ae572a6c7dda675de3e8b25797a18 (diff) |
sunrpc: don't take ->sv_lock when updating ->sv_nrthreads.
As documented in svc_xprt.c, sv_nrthreads is protected by the service
mutex, and it does not need ->sv_lock.
(->sv_lock is needed only for sv_permsocks, sv_tempsocks, and
sv_tmpcnt).
So remove the unnecessary locking.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions