Skip to content
Commit b9f8713f authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 6dbcbe3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment