i was not talking about the race. I was just reacting on your comments
about thundering herds and staggered wakeups - which is a performance
detail. Semaphores should not regress AIM7 by 50% but otherwise they are
legacy code and their use should be reduced monotonically, so i was
asking why anyone still cares about tuning semaphore details in XFS
instead of just working on removing semaphore use from them.
exactly what usecase is that? Perhaps it could be converted to an atomic
counter + the wait_event() APIs.
Ingo
--