This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix race in pthread_mutex_lock while promoting to PTHREAD_MUTEX_ELISION_NP [BZ #23275]
- From: Florian Weimer <fweimer at redhat dot com>
- To: Stefan Liebler <stli at linux dot ibm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Torvald Riegel <triegel at redhat dot com>, "Carlos O'Donell" <carlos at redhat dot com>
- Date: Tue, 16 Oct 2018 15:01:58 +0200
- Subject: Re: [PATCH] Fix race in pthread_mutex_lock while promoting to PTHREAD_MUTEX_ELISION_NP [BZ #23275]
- References: <f3fc33e5-aa98-f772-a1bf-c02ddf9352c7@linux.ibm.com> <a10e9a65-5031-fe9c-8552-3f046c351be6@redhat.com> <ebac7b01-c4ff-4310-d7cc-748c1499731a@linux.ibm.com>
* Stefan Liebler:
> The flag PTHREAD_MUTEX_NO_ELISION_NP is not explicitly checked before
> FORCE_ELISION is called. But only one of those two flags can be set.
> Your remaining assumption is correct.
> I've changed the comment in the three force-elision.h files. Is this
> okay?
The comment looks good to me know. Thanks!
Florian