[PATCH] Add compiler barriers around modifications of the robust mutex list.
Torvald Riegel
triegel@redhat.com
Fri Jan 13 11:22:00 GMT 2017
On Fri, 2017-01-13 at 10:45 +0100, Florian Weimer wrote:
> On 12/24/2016 12:57 AM, Torvald Riegel wrote:
> >
> > * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
> > barriers and comments.
> > * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
> > * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
> > * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
>
> Would you please rebase this patch on current master and repost? Thanks.
Attached is a patch that is on top of the rebased patch that removes the
robust mutex assembly code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: robust-barriers.patch
Type: text/x-patch
Size: 17259 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170113/fad61fe2/attachment.bin>
More information about the Libc-alpha
mailing list