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 3/4] Enhance --enable-tunables to select tunables frontend at build time


On 12/27/2016 10:10 PM, Siddhesh Poyarekar wrote:
On Tuesday 27 December 2016 05:14 PM, Florian Weimer wrote:
I'm not sure if this patch makes sense at this point because without
alternative frontends, it's impossible to tell if the current
initialization sequence is sufficient.

For example, if we want to load a tunable configuration with very low
cost, we could use ldconfig to pre-parse a configuration file and put it
into /etc/ld.so.cache.  But we won't know if the current approach works
until this is actually implemented.

The option --enable-tunables=... doesn't actually do anything beyond
explicitly naming the current tunables frontend implementation.  To
write a different frontend, one would not only have to add a new value
to the --enable-tunables=... option but also tweak the current
initialization sequence to suit its frontend without hurting existing
frontends.

Okay. I don't know what was decided at the Cauldron because it wasn't there. The patch doesn't look burdensome going forward, so maybe we can keep it if it makes someone happy.

Thanks,
Florian


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