This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Support dl-tunables.list in subdirectories
- From: Siddhesh Poyarekar <siddhesh at gotplt dot org>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 25 May 2017 11:36:11 +0530
- Subject: Re: [PATCH] Support dl-tunables.list in subdirectories
- Authentication-results: sourceware.org; auth=none
- References: <20170524194109.GA23029@lucon.org>
On Thursday 25 May 2017 01:11 AM, H.J. Lu wrote:
> We can put processor specific tunables in dl-tunables.list under
> sysdeps instead of in elf/dl-tunables.list.
>
> Any comments?
That makes sense. However, please avoid putting processor/arch
information in the tunable names. That is, instead of glibc.x86_tune or
something like that, stick to glibc.tune[1]. That way if the tunable is
deemed to be applicable to other architectures in future, then we can
simply move it to the generic list.
Siddhesh
[1] Any processor/hardware feature tuning should go into the glibc.tune
namespace. I see you're looking to implement IFUNC overrides, so the
tunable I've proposed for that is glibc.tune.mcpu where the values
should map to those in gcc.