Do not cas on slowpath of SpinLock unnecessarily
This is a well known technique to reduce inter-CPU bus traffic while waiting for the lock by reducing the number of writes.
Showing
Please register or sign in to comment
This is a well known technique to reduce inter-CPU bus traffic while waiting for the lock by reducing the number of writes.