From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114911 invoked by alias); 31 Dec 2016 15:41:01 -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 114813 invoked by uid 89); 31 Dec 2016 15:40:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL autolearn=no version=3.3.2 spammy=sk:gen-tun, UD:gen-tunables.awk, makeconfig, Makeconfig X-HELO: homiemail-a119.g.dreamhost.com From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Cc: fweimer@redhat.com, carlos@redhat.com Subject: [PATCH v8 0/4] glibc tunables Date: Sat, 31 Dec 2016 15:41:00 -0000 Message-Id: <1483198831-2232-1-git-send-email-siddhesh@sourceware.org> X-SW-Source: 2016-12/txt/msg01090.txt.bz2 Hi, Here is an updated version of the glibc tunables patchset. Changes: - Use sbrk instead of mmap for allocation of the tunables string and add a note about setting errno. I'll post a patch to add an __sbrk_noerrno in 2.26 to make this bullet-proof. - Go back to __builtin_unreachable because __builtin_trap may cause issues in other architectures. I will do a build test of other architectures and post an update before release if everything is OK. - Fixed up manual changes, including ones that Rical had suggested earlier - I had made those in another branch and forgotten about them. 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 | 21 ++ 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 | 20 ++ manual/probes.texi | 2 +- manual/tunables.texi | 192 ++++++++++++ scripts/gen-tunables.awk | 157 ++++++++++ sysdeps/mach/hurd/dl-sysdep.c | 4 + 29 files changed, 1289 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