diff options
| author | 2024-07-15 17:14:18 +1000 | |
|---|---|---|
| committer | 2024-09-20 19:31:03 -0400 | |
| commit | 60749cbe3d8ae572a6c7dda675de3e8b25797a18 (patch) | |
| tree | 07ff0382aa54a50bd4135466adf3d9c88207a65c /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | sunrpc: document locking rules for svc_exit_thread() (diff) | |
sunrpc: change sp_nrthreads from atomic_t to unsigned int.
sp_nrthreads is only ever accessed under the service mutex
nlmsvc_mutex nfs_callback_mutex nfsd_mutex
so these is no need for it to be an atomic_t.
The fact that all code using it is single-threaded means that we can
simplify svc_pool_victim and remove the temporary elevation of
sp_nrthreads.
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
