From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Enze Li <lienze@kylinos.cn>,
muchun.song@linux.dev, osalvador@suse.de,
akpm@linux-foundation.org, corbet@lwn.net,
danielmaraboo@gmail.com
Cc: linux-mm@kvack.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH v2] docs: hugetlbpage.rst: clarify HugePages_Total in hugetlbpage.rst
Date: Mon, 26 Oct 2026 10:53:53 +0100 [thread overview]
Message-ID: <384f2307-8531-43f2-8ec4-4b2dedc31e36@kernel.org> (raw)
In-Reply-To: <20261026080856.76175-1-lienze@kylinos.cn>
On 10/26/26 09:08, Enze Li wrote:
> "the size of the pool of huge pages" confused me, since it sounds like
> a size in bytes. It's actually the number of huge pages of the default
> size in the pool, surplus pages included. Reword it and point to
> /sys/kernel/mm/hugepages for the other huge page sizes.
>
> Suggested-by: Daniel Pereira <danielmaraboo@gmail.com>
> Signed-off-by: Enze Li <lienze@kylinos.cn>
> ---
> Changes in v2:
> - Drop "persistent" from the description
> - Reward the note on other sizes.
>
> Documentation/admin-guide/mm/hugetlbpage.rst | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/admin-guide/mm/hugetlbpage.rst b/Documentation/admin-guide/mm/hugetlbpage.rst
> index 2075f1f14a42..282bc420d97b 100644
> --- a/Documentation/admin-guide/mm/hugetlbpage.rst
> +++ b/Documentation/admin-guide/mm/hugetlbpage.rst
> @@ -43,7 +43,10 @@ The output of ``cat /proc/meminfo`` will include lines like::
> where:
>
> HugePages_Total
> - is the size of the pool of huge pages.
> + is the number of huge pages of the default size in the pool,
> + both persistent and surplus. Counts for the other huge page
> + sizes are available in ``/sys/kernel/mm/hugepages`` (described
> + below).
Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>
--
Cheers,
David
next prev parent reply other threads:[~2026-10-26 9:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-26 8:08 [PATCH v2] docs: hugetlbpage.rst: clarify HugePages_Total in hugetlbpage.rst Enze Li
2026-10-26 9:53 ` David Hildenbrand (Arm) [this message]
2026-10-26 13:34 ` Muchun Song
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=384f2307-8531-43f2-8ec4-4b2dedc31e36@kernel.org \
--to=david@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=corbet@lwn.net \
--cc=danielmaraboo@gmail.com \
--cc=lienze@kylinos.cn \
--cc=linux-doc@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=muchun.song@linux.dev \
--cc=osalvador@suse.de \
/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