diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-07-08 16:09:53 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-05 11:43:18 +0100 |
commit | ea888a14ac6e563f4289c95049bbd49a8e8c42a3 (patch) | |
tree | d7c378de550ad27d9cbb51cda2d7ee3fec1ae60e /arch/arm64/mm | |
parent | 7f7f437277ac745697c24e01012c234f958d10c9 (diff) |
SUNRPC: Mitigate cond_resched() in xprt_transmit()
[ Upstream commit 6f9f17287e78e5049931af2037b15b26d134a32a ]
The original purpose of this expensive call is to prevent a long
queue of requests from blocking other work.
The cond_resched() call is unnecessary after just a single send
operation.
For longer queues, instead of invoking the kernel scheduler, simply
release the transport send lock and return to the RPC scheduler.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm64/mm')
0 files changed, 0 insertions, 0 deletions