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 1/2] Add framework for tunables


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


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