This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCHv3 0/2] tunables for glibc
- From: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- To: libc-alpha at sourceware dot org
- Date: Sun, 10 Jul 2016 00:07:56 +0530
- Subject: [PATCHv3 0/2] tunables for glibc
- Authentication-results: sourceware.org; auth=none
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