This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/13690] pthread_mutex_unlock potentially cause invalid access


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]