On 10/17/2016 01:06 PM, Arnd Bergmann wrote:
Using an open-coded semaphore as a replacement is probably just
the last resort that we can consider once we are down to the
last handful of users. I haven't looked at drivers/infiniband/
yet for this, but I believe that drivers/acpi/ is a case for
which I see no better alternative (the AML bytecode requires
counting semaphore semantics).


Hello Arnd,

Thanks for the detailed reply. However, I doubt that removing and open-coding counting semaphores is the best alternative. Counting semaphores are a useful abstraction. I think open-coding counting semaphores everywhere counting semaphores are used would be a step back instead of a step forward.

Bart.

Reply via email to