[SPARC64]: Implement atomic backoff.
When the cpu count is high and contention hits an atomic object, the
processors can synchronize such that some cpus continually get knocked
out and cannot complete the atomic update.
So implement an exponential backoff when SMP.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
include/asm-sparc64/backoff.h
0 → 100644
想要评论请 注册 或 登录