Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>,
	regressions@lists.linux.dev,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Kiryl Shutsemau <kas@kernel.org>,
	Muchun Song <muchun.song@linux.dev>,
	Muchun Song <songmuchun@bytedance.com>,
	Oscar Salvador <osalvador@suse.de>,
	David Hildenbrand <david@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org, Jason Baron <jbaron@akamai.com>
Subject: Re: [REGRESSION] 6.18.y: HugeTLB vmemmap restore leaves stale struct pages since v6.18.51
Date: Thu,  3 Dec 2026 08:47:29 -0500	[thread overview]
Message-ID: <2026-12-03-1-daily-reply-0001@kernel.org> (raw)
In-Reply-To: <fbf6a8b3-5e02-4661-93c7-eec45b243f16@akamai.com>

> I've tested v6.18.66 with only d73f79d1a2c2 reverted (git revert
> d73f79d1a2c2), x86-64, CONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP=y with HVO
> enabled, booted with init_on_free=1 so the page sanity checks are on.
>
> The reproducer from my first mail now exits 0 and dmesg has no "Bad page
> state" reports. Unmodified v6.18.66 reports on the first run.

Thanks for testing, Jason. The revert is queued for the next 6.18 and 6.12
releases.

Muchun, given that the revert alone fixes this, do you still prefer
reverting the 6.18 and 6.12 backports of c0b495b91a47 ("mm/hugetlb:
refactor code around vmemmap_walk") as well? If so, could you send the
fix that b1b7c045e808 ("mm/hugetlb: initialize gigantic bootmem hugepage
struct pages earlier") then needs? Otherwise I'll queue your adapted
c7bde43f6daf ("mm/hugetlb_vmemmap: fix incorrect vmemmap restore in
rollback") on top of the revert.

-- 
Thanks,
Sasha


      reply	other threads:[~2026-12-03 13:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 18:09 [REGRESSION] 6.18.y: HugeTLB vmemmap restore leaves stale struct pages since v6.18.51 Jason Baron
2026-12-02  2:21 ` Muchun Song
2026-12-02  3:00   ` Muchun Song
2026-12-02 13:48 ` Sasha Levin
2026-12-02 15:24   ` Jason Baron
2026-12-03 13:47     ` Sasha Levin [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=2026-12-03-1-daily-reply-0001@kernel.org \
    --to=sashal@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jbaron@akamai.com \
    --cc=kas@kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=muchun.song@linux.dev \
    --cc=osalvador@suse.de \
    --cc=regressions@lists.linux.dev \
    --cc=songmuchun@bytedance.com \
    --cc=stable@vger.kernel.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