Peter Zijlstra <peterz@infradead.org> writes: > > Yeah, I would open code it. But this is indeed a sane usage of the > counting semaphore because there is no priority inversion.
But when you open code that, how is it different from just having semaphores?