Skip to content
Commit 28df0988 authored by Chuck Lever's avatar Chuck Lever
Browse files

SUNRPC: Use RMW bitops in single-threaded hot paths



I noticed CPU pipeline stalls while using perf.

Once an svc thread is scheduled and executing an RPC, no other
processes will touch svc_rqst::rq_flags. Thus bus-locked atomics are
not needed outside the svc thread scheduler.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent bb283ca1
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