This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 08/10] Fix tst-mutexpi8
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: libc-alpha at sourceware dot org, Andi Kleen <ak at linux dot intel dot com>
- Date: Fri, 17 May 2013 09:56:08 +0200
- Subject: Re: [PATCH 08/10] Fix tst-mutexpi8
- References: <1368756775-23245-1-git-send-email-andi at firstfloor dot org> <1368756775-23245-9-git-send-email-andi at firstfloor dot org>
On Thu, May 16, 2013 at 07:12:53PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> tst-mutexpi8 didn't actually test PI because tst-mutex8 didn't have any
> code to enable priority inheritance. Add the needed code in a ifdef.
>
Looks like this should be checked independently.
Other possibility to enable PI is copy code from tst-mutexpi1.c.
I need somebody else confirm that in this test PI was not disabled for
some historic reason.
> This also fixes it for lock elision because priority inheritance turns
> off elision, so we don't need to explicitely disable it.
>
a bonus.
Ondra