]> 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)
commitce9460d3da9a96894ffcaab7f073dd7e2001ed93
tree6b9423daa5d1bfaddd9dbce63f2f5e1a14aa261e
parentc97aef05647889a1e2c3e4e10495ef558752369c
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