Files
twx-linux/include/linux
NeilBrown a7378b63a2 sunrpc: change sp_nrthreads from atomic_t to unsigned int.
[ Upstream commit 60749cbe3d ]

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>
Stable-dep-of: aadc3bbea1 ("NFSD: Limit the number of concurrent async COPY operations")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-10 12:04:14 +02:00
..
2024-10-04 16:38:01 +02:00
2024-08-12 22:03:27 +02:00
2024-07-31 09:57:18 -07:00
2024-08-15 22:16:14 -07:00
2024-08-15 22:16:14 -07:00