Comment 18 for bug 791030

Alexey Kopytov (akopytov) wrote :

And even that is suboptimal. The proposed code just interrupts the loop early as soon as we found a latch with X waiters. 2 problems:

1. the current thread will release all latches, even if there are only X waiters on latches it doesn't own.
2. the current thread will release all latches, though it may be sufficient to release only some.

I will comment separately on the 5.6 AHI port.