Re:Mutexes are faster than Spinlocks
by dfox on Saturday January 04, 2020 @05:47PM
(#21958169)
IIRC the mov imm, %ecx; rep nop sequences are somewhat special cased by modern architectures (and this fact is the only reason why you even would want to execute such code). On the other hand the energy savings are mostly negligible and it is simply an SMT-level equivalent of sched_yield()
[ Parent
| on HN ]
There are no comments on this comment yet.