]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Replace the queue timer with a delayed work function
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 1 May 2019 14:49:27 +0000 (10:49 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 6 Jul 2019 18:54:48 +0000 (14:54 -0400)
commit244720eb967a496c3355ac923f9dbe3cba1a0237
tree7128a333d8563e59c542b7a7725c7bf0928080b8
parent88a919032ab9261d7adb42bd572f19db175cac2e
SUNRPC: Replace the queue timer with a delayed work function

The queue timer function, which walks the RPC queue in order to locate
candidates for waking up is one of the current constraints against
removing the bh-safe queue spin locks. Replace it with a delayed
work queue, so that we can do the actual rpc task wake ups from an
ordinary process context.

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