On 2021-02-16 10:56:14 [+0100], Peter Zijlstra wrote: > So while I'm in favour of adding a new interface, I'm not sure I see > benefit of reimplementing the basics, sure it seems simpler now, but > that's because you've not implemented all the 'fun' stuff. The last attempt tried to hide the updated interface within libc which did not fly. The global hash state is one of the problems because it leads to hash collisions of two unrelated locks. It will get simpler if we go into the kernel for each lock/unlock operation but this might not very good in terms of performance for locks which are mostly uncontended. I'm not sure how much we can cheat in terms of VDSO. Sebastian