[Bug nptl/33704] trylock throughput reduces significantly under high concurency load.

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Mon Dec 8 23:34:03 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33704

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Is this a regression?

I think the choice is here where to do a CAS optimistically, or a regular load
and check the value first. My hunch is the first approach is better because a
contended trylock is never going to be fast anyway. But I might be wrong about
it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list