[PATCH 1/2] Add framework for tunables
Florian Weimer
fweimer@redhat.com
Tue Jul 12 08:51:00 GMT 2016
On 07/11/2016 06:05 PM, Florian Weimer wrote:
> This is indeed closer to what I had in mind. But what I really want is
> something that can patch the tunables directly into a place which malloc
> can use. My hope is that one day, we have a tunable descriptor inside
> libc.so, and (rarely written) range in the .data segment which contains
> the tunable variables. Code which relies on tunables directly access
> the tunable range (using relaxed MO loads), and some external tool can
> use the tunables descriptor to update the tunables at run time.
Just to clarify: I don't see this an obstacle to applying the present
patch. I merely hope we can agree this is a direction we want to move in.
The main problem I see with the patch is the lack of equivalence with
the mallopt-based approach.
Thanks,
Florian
More information about the Libc-alpha
mailing list