WSL2-Linux-Kernel/net/sunrpc
Trond Myklebust 3e1e7e4a6b SUNRPC: Partial revert of commit 6f9f17287e
commit ea7a1019d8 upstream.

The premise of commit 6f9f17287e ("SUNRPC: Mitigate cond_resched() in
xprt_transmit()") was that cond_resched() is expensive and unnecessary
when there has been just a single send.
The point of cond_resched() is to ensure that tasks that should pre-empt
this one get a chance to do so when it is safe to do so. The code prior
to commit 6f9f17287e failed to take into account that it was keeping a
rpc_task pinned for longer than it needed to, and so rather than doing a
full revert, let's just move the cond_resched.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-18 19:17:20 +01:00
..
auth_gss Bug fixes for NFSD error handling paths 2021-10-07 14:11:40 -07:00
xprtrdma NFS Client Updates for Linux 5.15 2021-09-04 10:25:26 -07:00
Kconfig
Makefile
addr.c nfsd: don't alloc under spinlock in rpc_parse_scope_id 2021-11-18 19:16:58 +01:00
auth.c
auth_null.c
auth_unix.c
backchannel_rqst.c
cache.c SUNRPC: improve error response to over-size gss credential 2021-09-03 13:38:11 -04:00
clnt.c SUNRPC enforce creation of no more than max_connect xprts 2021-08-27 16:37:29 -04:00
debugfs.c NFS Client Updates for Linux 5.15 2021-09-04 10:25:26 -07:00
fail.h
netns.h
rpc_pipe.c
rpcb_clnt.c
sched.c
socklib.c
socklib.h
stats.c
sunrpc.h
sunrpc_syms.c
svc.c NFS Client Updates for Linux 5.15 2021-09-04 10:25:26 -07:00
svc_xprt.c Critical bug fixes: 2021-09-08 15:55:42 -07:00
svcauth.c
svcauth_unix.c
svcsock.c
sysctl.c
sysfs.c SUNRPC add xps_nunique_destaddr_xprts to xprt_switch_info in sysfs 2021-08-27 16:37:03 -04:00
sysfs.h
timer.c
xdr.c
xprt.c SUNRPC: Partial revert of commit 6f9f17287e 2021-11-18 19:17:20 +01:00
xprtmultipath.c
xprtsock.c NFS Client Updates for Linux 5.15 2021-09-04 10:25:26 -07:00