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 8/9] Fix tst-mutexpi8


On 05/03/2013 10:54 AM, Andreas Jaeger wrote:
On 05/03/2013 01:27 AM, 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.

This also fixes it for lock elision because priority inheritance turns
off elision, so we don't need to explicitely disable it.

2013-05-02  Andi Kleen  <ak@linux.intel.com>

    * tst-mutex8.c: Check for ENABLE_PI
    * tst-mutexpi8.c:  Set ENABLE_PI.

This patch is fine and I suggest to commit it independent of the rest,

I'm committing this one now myself - after changing the error message to be consistent with the rest,

Andreas
--
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


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