Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Muchun Song <muchun.song@linux.dev>
To: Enze Li <lienze@kylinos.cn>
Cc: osalvador@suse.de, david@kernel.org, akpm@linux-foundation.org,
	linux-mm@kvack.org
Subject: Re: [PATCH] mm/hugetlb: use account_new_hugetlb_folio() in add_hugetlb_folio()
Date: Tue, 27 Oct 2026 14:26:27 +0800	[thread overview]
Message-ID: <B2F389B0-59D5-4379-A158-D608066398FF@linux.dev> (raw)
In-Reply-To: <20261027060446.289404-1-lienze@kylinos.cn>



> On Oct 27, 2026, at 14:04, Enze Li <lienze@kylinos.cn> wrote:
> 
> Every other place that accounts a new huge page already calls
> account_new_hugetlb_folio(), and add_hugetlb_folio() was the odd one
> out, still open-coding the same two increments.  Swap it over.
> 
> The helper is defined further down the file, so add a forward
> declaration for it.
> 
> No functional change intended.
> 
> Signed-off-by: Enze Li <lienze@kylinos.cn>

Reviewed-by: Muchun Song <muchun.song@linux.dev>

Thanks.



  reply	other threads:[~2026-10-27  6:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27  6:04 [PATCH] mm/hugetlb: use account_new_hugetlb_folio() in add_hugetlb_folio() Enze Li
2026-10-27  6:26 ` Muchun Song [this message]
2026-10-27  9:03 ` David Hildenbrand (Arm)
2026-10-27 10:01   ` Enze Li
2026-10-27 10:49     ` David Hildenbrand (Arm)

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=B2F389B0-59D5-4379-A158-D608066398FF@linux.dev \
    --to=muchun.song@linux.dev \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=lienze@kylinos.cn \
    --cc=linux-mm@kvack.org \
    --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