mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Muchun Song <muchun.song@linux.dev>
To: Longlong Xia <xialonglong2025@163.com>
Cc: osalvador@suse.de, akpm@linux-foundation.org, david@kernel.org,
	mike.kravetz@oracle.com, mhocko@suse.com, linmiaohe@huawei.com,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	xialonglong@kylinos.cn
Subject: Re: [PATCH v2 2/2] mm/hugetlb: warn instead of silently bailing gigantic pages without runtime support
Date: Fri, 28 Aug 2026 14:42:37 +0800	[thread overview]
Message-ID: <2EC70FCF-D812-4FD2-9172-F2520FE931B2@linux.dev> (raw)
In-Reply-To: <20260823044118.1097121-3-xialonglong2025@163.com>



> On Aug 23, 2026, at 12:40, Longlong Xia <xialonglong2025@163.com> wrote:
> 
> From: Longlong Xia <xialonglong@kylinos.cn>
> 
> remove_hugetlb_folio() and __update_and_free_hugetlb_folio() silently
> return for gigantic hstates that lack runtime freeing support. All
> callers should already filter such hstates upstream, so turn the
> silent bail into a VM_WARN_ON_ONCE to catch caller regressions
> instead of masking them.
> 
> Assisted-by: Codex:gpt-5.6-sol
> Signed-off-by: Longlong Xia <xialonglong@kylinos.cn>

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

Thanks.


      reply	other threads:[~2026-08-28  6:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-23  4:40 [PATCH v2 0/2] mm/hugetlb: dissolve " Longlong Xia
2026-08-23  4:40 ` [PATCH v2 1/2] mm/hugetlb: do not " Longlong Xia
2026-08-28  5:22   ` Andrew Morton
2026-08-28  6:41   ` Muchun Song
2026-08-23  4:40 ` [PATCH v2 2/2] mm/hugetlb: warn instead of silently bailing " Longlong Xia
2026-08-28  6:42   ` Muchun Song [this message]

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=2EC70FCF-D812-4FD2-9172-F2520FE931B2@linux.dev \
    --to=muchun.song@linux.dev \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=linmiaohe@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.com \
    --cc=mike.kravetz@oracle.com \
    --cc=osalvador@suse.de \
    --cc=xialonglong2025@163.com \
    --cc=xialonglong@kylinos.cn \
    /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

all inboxes | Powered by JetHome®