On 07/09/2016 10:45 PM, Siddhesh Poyarekar wrote:
I've posted another iteration of patches for tunables on libc-alpha[1][2][3]. Florian, I have implemented your suggestion of storing them as their target data type instead of strings and also now implemented them as a dynamic linker feature so that they can be used as early as IFUNC selection. This also means that the dynamic linker environment variables can also be built into the tunables.
Awesome.
Would one of you be able to review them and let me know if 1/2 is suitable for rawhide? We can then try to move forward the discussion for 2/2.
Siddhesh,
I think 1/2 is good for rawhide if you fix the compat changes for malloc tunables e.g. share the callbacks with mallopt.
Florian,
Thoughts?
There seem to be a growing number of people interested in tunables, so I'm trying to do this on a priority now. I realized it a bit too late for 2.24, but I think this can be backported too since there is no ABI impact.
Agreed. IMO the whole thing can go into 2.24, and the Fedora releases too.
[1] https://sourceware.org/ml/libc-alpha/2016-07/msg00234.html [2] https://sourceware.org/ml/libc-alpha/2016-07/msg00236.html [3] https://sourceware.org/ml/libc-alpha/2016-07/msg00235.html
Cheers, Carlos.