This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[ping] Re: Lock elision tuning interface
- From: Andi Kleen <andi at firstfloor dot org>
- To: libc-alpha at sourceware dot org
- Date: Mon, 05 Jan 2015 14:16:15 -0800
- Subject: [ping] Re: Lock elision tuning interface
- Authentication-results: sourceware.org; auth=none
- References: <1418974667-32587-1-git-send-email-andi at firstfloor dot org>
Andi Kleen <andi@firstfloor.org> writes:
Ping! Any comments on this patchkit?
Thanks,
-Andi
> This patchkit is an updated version of the glibc elision tuning
> interface through environment variables. An earlier variant
> of this code was in the original elision code submission,
> but was not added.
>
> This version updates it to include a white list through
> a configuration file. This allows to disable it as needed,
> when there are concerns that changing elision parameters
> may impact root programs.
>
> The white list can also be enabled/disabled at build time.
>
> I would like to have the environment interface because
> it gives more flexibility to distributions. For example
> they can disable elision by default, but still allow
> users to override that choice. Or enable it by default,
> but allow disabling if needed. In addition it also
> allows to tune the various retry parameters.
>
> I also included the test code and the manual
> that did not make it in last time.
>
> -Andi
>
>
>
--
ak@linux.intel.com -- Speaking for myself only