This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCHv6 0/4] glibc tunables
- From: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- To: libc-alpha at sourceware dot org
- Cc: carlos at redhat dot com, adhemerval dot zanella at linaro dot org
- Date: Wed, 16 Nov 2016 14:05:02 +0530
- Subject: [PATCHv6 0/4] glibc tunables
- Authentication-results: sourceware.org; auth=none
Hi,
Here is iteration 6 of the tunables patchset, now with two patches palmed off
to Adhemerval to worry about! Here are changes from the previous patchset:
- I discovered some implicit includes that broke aarch64 - shame on me for
missing them.
- I realized that __tunables_init used strncmp and strlen. They're built into
ld.so too, but they are likely tunables targets and I don't want them to
break unintentionally in future, so off they go
- The patchset depends on Adhemerval's __access_noerrno patch[1] fixed up with
my comments on the patch.
The branch siddhesh/tunables has these patches and also Adhemerval's fixed up
patch. If you're watching this, please also review Adhemerval's
__access_noerrno patch and help get that through.
Siddhesh
[1] https://sourceware.org/ml/libc-alpha/2016-11/msg00416.html
Siddhesh Poyarekar (4):
Add framework for tunables
Initialize tunable list with the GLIBC_TUNABLES environment variable
Enhance --enable-tunables to select tunables frontend at build time
User manual documentation for tunables
INSTALL | 18 ++
Makeconfig | 16 ++
README.tunables | 84 ++++++
config.h.in | 3 +
config.make.in | 1 +
configure | 17 ++
configure.ac | 10 +
csu/init-first.c | 2 -
csu/libc-start.c | 12 +
elf/Makefile | 7 +
elf/Versions | 3 +
elf/dl-support.c | 2 +
elf/dl-sysdep.c | 8 +
elf/dl-tunable-types.h | 46 +++
elf/dl-tunables.c | 447 +++++++++++++++++++++++++++++
elf/dl-tunables.h | 82 ++++++
elf/dl-tunables.list | 69 +++++
elf/rtld.c | 2 +
malloc/Makefile | 6 +
malloc/arena.c | 54 ++++
malloc/tst-malloc-usable-static-tunables.c | 1 +
malloc/tst-malloc-usable-static.c | 1 +
malloc/tst-malloc-usable-tunables.c | 1 +
manual/Makefile | 3 +-
manual/install.texi | 21 ++
manual/probes.texi | 2 +-
manual/tunables.texi | 185 ++++++++++++
scripts/gen-tunables.awk | 157 ++++++++++
sysdeps/mach/hurd/dl-sysdep.c | 8 +
29 files changed, 1264 insertions(+), 4 deletions(-)
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 manual/tunables.texi
create mode 100644 scripts/gen-tunables.awk
--
2.7.4