Re:Mutexes are faster than Spinlocks
by bdash on Sunday January 05, 2020 @12:29AM
(#21959833)
It doesn't attempt to determine the size of the critical section, AFAIK. I think it's saying that sleeping immediately when failing to acquire the lock would significantly hurt small critical sections, and so instead they spin a few times to avoid punishing those scenarios.
[ Parent
| on HN ]
There are no comments on this comment yet.