From: Peter Xu <peterx@redhat.com>
To: lsf-pc@lists.linux-foundation.org
Cc: linux-mm@kvack.org, James Houghton <jthoughton@google.com>,
Muchun Song <muchun.song@linux.dev>
Subject: [LSF/MM/BPF TOPIC] Hugetlb Unifications
Date: Thu, 22 Feb 2024 16:50:08 +0800 [thread overview]
Message-ID: <ZdcKwK7CXgEsm-Co@x1n> (raw)
I want to propose a session to discuss how we should unify hugetlb into
core mm.
Due to legacy reasons, hugetlb has plenty of its own code paths that are
plugged into core mm, causing itself even more special than shmem. While
it is a pretty decent and useful file system, efficient on supporting large
& statically allocated chunks of memory, it also added maintenance burden
due to having its own specific code paths spread all over the place.
It went into a bit of a mess, and it is messed up enough to become a reason
to not accept new major features like what used to be proposed last year to
map hugetlb pages in smaller sizes [1].
We all seem to agree something needs to be done to hugetlb, but it seems
still not as clear on what exactly, then people forgot about it and move
on, until hit it again. The problem didn't yet go away itself even if
nobody asks.
Is it worthwhile to spend time do such work? Do we really need a fresh new
hugetlb-v2 just to accept new features? What exactly need to be
generalized for hugetlb? Is huge_pte_offset() the culprit, or what else?
To what extent hugetlb is free to accept new features?
The goal of such a session is trying to make it clearer on answering above
questions.
[1] https://lore.kernel.org/r/20230306191944.GA15773@monkey
Thanks,
--
Peter Xu
next reply other threads:[~2024-02-22 8:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-22 8:50 Peter Xu [this message]
2024-02-22 20:36 ` Frank van der Linden
2024-02-22 22:21 ` Matthew Wilcox
2024-02-22 22:16 ` Pasha Tatashin
2024-02-22 22:31 ` Matthew Wilcox
2024-02-22 22:58 ` Pasha Tatashin
2024-03-01 1:37 ` James Houghton
2024-03-01 3:11 ` Peter Xu
2024-03-06 23:24 ` James Houghton
2024-03-07 10:06 ` Peter Xu
2024-03-01 4:29 ` Matthew Wilcox
2024-03-01 6:51 ` Muchun Song
2024-03-01 16:44 ` David Hildenbrand
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=ZdcKwK7CXgEsm-Co@x1n \
--to=peterx@redhat.com \
--cc=jthoughton@google.com \
--cc=linux-mm@kvack.org \
--cc=lsf-pc@lists.linux-foundation.org \
--cc=muchun.song@linux.dev \
/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