This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] Tunable elision patch for siddhesh/tunables
- From: Andi Kleen <andi at firstfloor dot org>
- To: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- Cc: Siddhesh Poyarekar <siddhesh at redhat dot com>, Carlos O'Donell <carlos at redhat dot com>, Steve Munroe <sjmunroe at us dot ibm dot com>, Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, Roland McGrath <roland at hack dot frob dot com>, andi at firstfloor dot org
- Date: Tue, 13 Oct 2015 02:27:55 +0200
- Subject: Re: [RFC] Tunable elision patch for siddhesh/tunables
- Authentication-results: sourceware.org; auth=none
- References: <5612A237 dot 7040409 at linux dot vnet dot ibm dot com>
On Mon, Oct 05, 2015 at 11:15:51AM -0500, Paul E. Murphy wrote:
> Siddhesh et al,
>
> In continuing the glibc tunables discussion, I've made some
> additional patches which I think would help our work on the
> siddhesh/tunables branch.
>
> I've split this into two patches:
>
> * The first should enable tunables to initialize without
> calling malloc(), and prior to __environ being set.
>
> * The second adds a common tunables initialization function
> for elision, and enables it for supported archs.
>
> I have tested this on PPC64. I need help testing for
> supported s390 and x86 platforms.
Sorry for the delay. I built the patch on x86_64. So far
it seems to completely disable lock elision, even when
explicitly enabling it with GNU_LIBC_TUNABLES=pthread.elision_enable=1
I'll debug later to see why that is.
-Andi