This is the mail archive of the libc-alpha@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]

[PATCH][BZ #20973] Robust mutexes: Fix lost wake-up.


See patch for a description.

Tested on x86_64-linux with our tests and the test case from the
original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1401665

OK?

I'm sending this minimal patch first to have something that's easy to
backport.  I'll send further such patches for any other bugs I can find
for which a simple backport is possible.  I then plan to follow this up
with a general clean-up of robust mutexes including proper documentation
of the concurrent code.

There's another bug that's probably just a glibc problem, one that is a
glibc problem but seems to happen to work currently (at least on
x86_64), one bug that is just in kernel code, and there's also a general
design flaw in the glibc/kernel synchronization algorithm that prevents
us from guaranteeing the mutex destruction requirements.  I'll work on
the latter two subsequently and crosspost to LKML.


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