diff options
| author | NeilBrown <[email protected]> | 2023-09-11 14:40:09 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2023-10-16 16:44:07 +0000 |
| commit | 2e8fc923fe476db8cab9b6458027eccb22f3b6e6 (patch) | |
| tree | 5b143877a907eb433062042d60d09f469b2a9728 /tools/net/ynl/generated/nfsd-user.c | |
| parent | SUNRPC: use lwq for sp_sockets - renamed to sp_xprts (diff) | |
| download | kernel-2e8fc923fe476db8cab9b6458027eccb22f3b6e6.tar.gz kernel-2e8fc923fe476db8cab9b6458027eccb22f3b6e6.zip | |
SUNRPC: change sp_nrthreads to atomic_t
Using an atomic_t avoids the need to take a spinlock (which can soon be
removed).
Choosing a thread to kill needs to be careful as we cannot set the "die
now" bit atomically with the test on the count. Instead we temporarily
increase the count.
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/nfsd-user.c')
0 files changed, 0 insertions, 0 deletions
