OSDN Git Service

SUNRPC: Add cond_resched() at the appropriate point in __rpc_execute()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 12 Jul 2021 13:57:08 +0000 (09:57 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Oct 2021 00:49:05 +0000 (20:49 -0400)
commit47dd8796a31e132f9e2b93a4f558a9f924a7388f
tree299e8e5e98448e6872bf4ad6581b1e5bf08d5b1a
parentea7a1019d8baf8503ecd6e3ec8436dec283569e6
SUNRPC: Add cond_resched() at the appropriate point in __rpc_execute()

Allow tasks that need to pre-empt rpciod/xprtiod to do so when it is
safe.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/sched.c