]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Test whether the task is queued before grabbing the queue spinlocks
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 8 Sep 2018 03:15:35 +0000 (23:15 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:14 +0000 (15:35 -0400)
commita4d510473e01d19ba65adaf58a6c0ac443af3f66
tree6b9423daa5d1bfaddd9dbce63f2f5e1a14aa261e
parent04ff71665ea8a2889f9f528ef39b7548652bb74f
SUNRPC: Test whether the task is queued before grabbing the queue spinlocks

When asked to wake up an RPC task, it makes sense to test whether or not
the task is still queued.

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