This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/13690] pthread_mutex_unlock potentially cause invalid access
- From: "triegel at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 09 Aug 2014 20:38:27 +0000
- Subject: [Bug nptl/13690] pthread_mutex_unlock potentially cause invalid access
- Auto-submitted: auto-generated
- References: <bug-13690-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=13690
--- Comment #47 from Torvald Riegel <triegel at redhat dot com> ---
This would increase the unlock latency whenever there is any waiter (because we
let the kernel do it, and after it has found and acquired the futex lock). I
don't have numbers for this increase, but if there's a non-neglible increase in
latency, then I wouldn't want to see this in glibc.
I still think that the only thing we need to fix is to make sure that no
program can interpret a spurious wake-up (by a pending futex_wake) as a real
wake-up.
--
You are receiving this mail because:
You are on the CC list for the bug.