[PATCHv4 0/2] tunables for glibc
Siddhesh Poyarekar
siddhesh@sourceware.org
Mon Aug 15 20:05:00 GMT 2016
Hi,
After another episode of disappearance, here is an updated iteration of the
tunables patch with suggestions from Florian, Carlos and H. J. incorporated.
Changes since the last version:
- Fixed mallopt behaviour using a set of intermediate functions that the
callback and __libc_mallopt use. I did not make them into direct callbacks
because the callbacks are built only when tunables is enabled.
- Loads of comment and documentation fixes based on Carlos' and Florian's
suggestions
- Call __init_tunables even earlier to ensure that tunables are initialized
before get_cpu_features is called.
Siddhesh Poyarekar (2):
Add framework for tunables
Initialize tunable list with the GLIBC_TUNABLES environment variable
INSTALL | 5 +
Makeconfig | 16 ++
README.tunables | 84 +++++++++
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-sysdep.c | 8 +
elf/dl-tunable-types.h | 46 +++++
elf/dl-tunables.c | 284 +++++++++++++++++++++++++++++
elf/dl-tunables.h | 78 ++++++++
elf/dl-tunables.list | 69 +++++++
malloc/Makefile | 7 +-
malloc/arena.c | 54 ++++++
malloc/malloc.c | 126 +++++++++----
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 ++++++++++++++++
sysdeps/mach/hurd/dl-sysdep.c | 8 +
sysdeps/mach/hurd/i386/init-first.c | 8 +
25 files changed, 968 insertions(+), 35 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 scripts/gen-tunables.awk
--
2.7.4
More information about the Libc-alpha
mailing list