This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 08/10] Fix tst-mutexpi8


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]