[PATCHv3 0/2] tunables for glibc
Siddhesh Poyarekar
siddhesh@sourceware.org
Sat Jul 9 18:49:00 GMT 2016
Hi,
Here is another iteration of the tunables patch with some more recommendations
from H. J. Lu incorporated. I have also added the TUNABLE_TYPE_STRING type to
allow adding of string types easily. Major changes from the previous version
are:
- New type TUNABLE_TYPE_STRING
- Callback now accepts a pointer which will be used to pass the
tunable value
- Eliminate the strdup call completely since it won't work for static
binaries.
Siddhesh Poyarekar (2):
Add framework for tunables
Initialize tunable list with the GLIBC_TUNABLES environment variable
INSTALL | 6 +
Makeconfig | 16 ++
README.tunables | 74 ++++++++
config.h.in | 3 +
config.make.in | 1 +
configure | 16 ++
configure.ac | 10 ++
csu/init-first.c | 7 +
elf/Makefile | 5 +
elf/Versions | 3 +
elf/dl-tunable-types.h | 46 +++++
elf/dl-tunables.c | 275 +++++++++++++++++++++++++++++
elf/dl-tunables.h | 76 ++++++++
elf/dl-tunables.list | 50 ++++++
elf/rtld.c | 8 +
malloc/Makefile | 7 +-
malloc/arena.c | 35 ++++
malloc/tst-malloc-usable-static-tunables.c | 1 +
malloc/tst-malloc-usable-static.c | 1 +
malloc/tst-malloc-usable-tunables.c | 1 +
manual/install.texi | 5 +
scripts/gen-tunables.awk | 157 ++++++++++++++++
22 files changed, 802 insertions(+), 1 deletion(-)
create mode 100644 README.tunables
create mode 100644 elf/dl-tunable-types.h
create mode 100644 elf/dl-tunables.c
create mode 100644 elf/dl-tunables.h
create mode 100644 elf/dl-tunables.list
create mode 100644 malloc/tst-malloc-usable-static-tunables.c
create mode 100644 malloc/tst-malloc-usable-static.c
create mode 100644 malloc/tst-malloc-usable-tunables.c
create mode 100644 scripts/gen-tunables.awk
--
2.5.5
More information about the Libc-alpha
mailing list