From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73629 invoked by alias); 30 Dec 2016 04:09:28 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 73597 invoked by uid 89); 30 Dec 2016 04:09:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL autolearn=no version=3.3.2 spammy=1280 X-HELO: homiemail-a47.g.dreamhost.com From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Cc: fweimer@redhat.com, carlos@redhat.com Subject: [PATCH v7 0/4] glibc tunables Date: Fri, 30 Dec 2016 04:09:00 -0000 Message-Id: <1483070938-2308-1-git-send-email-siddhesh@sourceware.org> X-SW-Source: 2016-12/txt/msg01052.txt.bz2 Hi, Here's v7 of the tunables patchset. Changes are as follows: - Fixed up issues that Florian pointed out - Replaced mmap call with an INTERNAL_SYSCALL to avoid setting errno - Dropped the call to __getpagesize since the kernel is capable of rounding requests to nearest page size I tried to avoid the copying of the tunables string, but it complicated the tunables interface by introducing a length attribute for strings so I dropped that idea. Tested on x86_64. 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 | 85 ++++++ config.h.in | 3 + config.make.in | 2 + configure | 17 ++ configure.ac | 10 + csu/init-first.c | 2 - csu/libc-start.c | 8 + elf/Makefile | 13 + elf/Versions | 3 + elf/dl-support.c | 2 + elf/dl-sysdep.c | 4 + elf/dl-tunable-types.h | 46 +++ elf/dl-tunables.c | 457 +++++++++++++++++++++++++++++ elf/dl-tunables.h | 92 ++++++ 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 | 4 + 29 files changed, 1280 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