[PATCHv2 0/2] Tunables for glibc
Siddhesh Poyarekar
sid@reserved-bit.com
Sat Jan 16 18:55:00 GMT 2016
Hi,
Updated patches follow. The main changes from the first version are:
1. Added a new function t_memcpy to avoid calling memcpy and triggering its
IFUNC.
2. Replace t_strncpy with t_strcpy
3. Put the tunables functions in the glibc internal namespace
4. End tunables-list.h with a newline
5. Added comment about __tunables_init calls being synchronized by the
dl_load_lock
Siddhesh
Siddhesh Poyarekar (2):
Add framework for tunables
Initialize tunable list with the GLIBC_TUNABLES environment variable
INSTALL | 6 ++
Makeconfig | 9 ++
config.h.in | 3 +
config.make.in | 1 +
configure | 16 +++
configure.ac | 10 ++
csu/init-first.c | 7 ++
csu/libc-start.c | 4 +-
malloc/arena.c | 86 ++++++++++++++++
manual/install.texi | 5 +
nptl/nptl-init.c | 9 +-
scripts/gen-tunables.awk | 84 +++++++++++++++
tunables/Makefile | 33 ++++++
tunables/README | 93 +++++++++++++++++
tunables/Versions | 8 ++
tunables/tunable-list.h | 32 ++++++
tunables/tunables.c | 263 +++++++++++++++++++++++++++++++++++++++++++++++
tunables/tunables.h | 110 ++++++++++++++++++++
tunables/tunables.list | 12 +++
19 files changed, 788 insertions(+), 3 deletions(-)
create mode 100644 scripts/gen-tunables.awk
create mode 100644 tunables/Makefile
create mode 100644 tunables/README
create mode 100644 tunables/Versions
create mode 100644 tunables/tunable-list.h
create mode 100644 tunables/tunables.c
create mode 100644 tunables/tunables.h
create mode 100644 tunables/tunables.list
--
2.5.0
More information about the Libc-alpha
mailing list