diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-07-12 19:24:15 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-10-04 03:49:05 +0300 |
commit | b9f8713f42af11ae6d7f63075334ba5298436be6 (patch) | |
tree | 8bd93a692e33073dd40c68cb433f752605a9a794 /net/sunrpc/xprt.c | |
parent | 6dbcbe3f78bec62a4a96ac9cfddaf894a140b821 (diff) | |
download | linux-b9f8713f42af11ae6d7f63075334ba5298436be6.tar.xz |
SUNRPC: Remove unnecessary memory barriers
The only check for RPC_TASK_RUNNING is the one in rpc_make_runnable(),
which happens under the same spin lock held when we call
rpc_clear_running().
Ditto, the last check for RPC_TASK_QUEUED in rpc_execute() is performed
under the same lock as the one held when we call rpc_clear_queued().
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions