3 ms·
Aren't most modern spinlock implementations are ticket-based, which ensures fairness among waiters (FIFO-like)? The linux kernel implementations most definitel
by xtacy 7y ago
Aren't most modern spinlock implementations are ticket-based, which ensures fairness among waiters (FIFO-like)? The linux kernel implementations most definitely are.
I agree that the naive implementations are not.
- temac 7y agoCompletely fair locks can have extremely terrible throughput performance, so depending what you are doing with them, they might not be a good idea...