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: Stefan Liebler <stli at linux dot ibm dot com>
- To: Florian Weimer <fweimer at redhat 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: Wed, 17 Oct 2018 12:28:05 +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> <874ldm3v09.fsf@oldenburg.str.redhat.com>
On 10/16/2018 03:01 PM, Florian Weimer wrote:
* 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
Committed, bugzilla closed and target milestone is set to 2.29.
Thanks,
Stefan