linux/fs/lockd
NeilBrown fa341560ca SUNRPC: change how svc threads are asked to exit.
svc threads are currently stopped using kthread_stop().  This requires
identifying a specific thread.  However we don't care which thread
stops, just as long as one does.

So instead, set a flag in the svc_pool to say that a thread needs to
die, and have each thread check this flag instead of calling
kthread_should_stop().  The first thread to find and clear this flag
then moves towards exiting.

This removes an explicit dependency on sp_all_threads which will make a
future patch simpler.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2023-10-16 12:44:04 -04:00
..
Makefile
clnt4xdr.c
clntlock.c
clntproc.c
clntxdr.c
host.c
mon.c
netns.h
procfs.c
procfs.h
svc.c SUNRPC: change how svc threads are asked to exit. 2023-10-16 12:44:04 -04:00
svc4proc.c
svclock.c SUNRPC: change how svc threads are asked to exit. 2023-10-16 12:44:04 -04:00
svcproc.c
svcshare.c
svcsubs.c
svcxdr.h
trace.c
trace.h
xdr.c
xdr4.c