[PATCH 08/10] Fix tst-mutexpi8
Ondřej Bílka
neleai@seznam.cz
Fri May 17 07:57:00 GMT 2013
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
More information about the Libc-alpha
mailing list