[Bug nptl/33704] RFE: Relax failing pthread_mutex_trylock to load with relaxed MO.
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Mon Jan 5 19:30:30 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=33704
--- Comment #29 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The release/2.31/master branch has been updated by Sunil Pandey
<skpgkp2@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=831299deb7618c86a0d5dec5e67dae05dfb98f05
commit 831299deb7618c86a0d5dec5e67dae05dfb98f05
Author: Sunil K Pandey <sunil.k.pandey@intel.com>
Date: Tue Dec 9 08:57:44 2025 -0800
nptl: Optimize trylock for high cache contention workloads (BZ #33704)
Check lock availability before acquisition to reduce cache line
bouncing. Significantly improves trylock throughput on multi-core
systems under heavy contention.
Tested on x86_64.
Fixes BZ #33704.
Co-authored-by: Alex M Wells <alex.m.wells@intel.com>
Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
(cherry picked from commit 63716823dbad9482e09972907ae98e9cb00f9b86)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list