public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: libc-alpha@sourceware.org, DJ Delorie <dj@redhat.com>
Cc: Zhangfei Gao <zhangfei.gao@linaro.org>
Subject: [PATCH v2 0/2] Improve MAP_HUGETLB with glibc.malloc.hugetlb=2
Date: Thu, 23 Nov 2023 14:29:13 -0300	[thread overview]
Message-ID: <20231123172915.893408-1-adhemerval.zanella@linaro.org> (raw)

On some tests with glibc.malloc.hugetlb=2, there are some allocation
patterns that are not backed up by large pages (different than
libhugetlfs morecore implementation).

Adhemerval Zanella (2):
  elf: Add a way to check if tunable is set (BZ 27069)
  malloc: Improve MAP_HUGETLB with glibc.malloc.hugetlb=2

 elf/Versions             |  1 +
 elf/dl-tunable-types.h   |  1 +
 elf/dl-tunables.c        | 40 ++++++++++++++++++++++++++++++++++++++++
 elf/dl-tunables.h        | 28 ++++++++++++++++++++++++++++
 elf/dl-tunables.list     |  1 +
 malloc/arena.c           | 13 ++++++++++---
 scripts/gen-tunables.awk |  4 ++--
 7 files changed, 83 insertions(+), 5 deletions(-)

-- 
2.34.1


             reply	other threads:[~2023-11-23 17:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-23 17:29 Adhemerval Zanella [this message]
2023-11-23 17:29 ` [PATCH v2 1/2] elf: Add a way to check if tunable is set (BZ 27069) Adhemerval Zanella
2023-11-28 21:38   ` DJ Delorie
2023-11-29 12:29     ` Adhemerval Zanella Netto
2023-11-23 17:29 ` [PATCH v2 2/2] malloc: Improve MAP_HUGETLB with glibc.malloc.hugetlb=2 Adhemerval Zanella
2023-11-28 21:43   ` DJ Delorie
2023-11-24  7:57 ` [PATCH v2 0/2] " Zhangfei Gao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231123172915.893408-1-adhemerval.zanella@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=dj@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=zhangfei.gao@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).