Skip to content
Commit c0f9c7e4 authored by Bert Kenward's avatar Bert Kenward Committed by David S. Miller
Browse files

sfc: replace spinlocks with bit ops for busy poll locking



This patch reduces the overhead of locking for busy poll.
Previously the state was protected by a lock, whereas now
it's manipulated solely with atomic operations.

Signed-off-by: default avatarShradha Shah <sshah@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 080a270f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment