This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix elision in nested trylock.
- From: Andi Kleen <andi at firstfloor dot org>
- To: Torvald Riegel <triegel at redhat dot com>
- Cc: Andi Kleen <andi at firstfloor dot org>, GLIBC Devel <libc-alpha at sourceware dot org>, Carlos O'Donell <carlos at redhat dot com>
- Date: Thu, 27 Jun 2013 21:16:42 +0200
- Subject: Re: [PATCH] Fix elision in nested trylock.
- References: <1372288203 dot 22198 dot 1113 dot camel at triegel dot csb> <20130627004146 dot GK6123 at two dot firstfloor dot org> <1372323284 dot 22198 dot 2309 dot camel at triegel dot csb>
Ok I see what you mean. This can be simply fixed by moving the abort
outside the adaption check, at the very beginning of
__lll_trylock_elision.
Then it will always abort, even if adapted.
I'll do this change. Thanks.
-Andi