From: Catalin Marinas <catalin.marinas@arm.com>
To: linux-arm-kernel@lists.infradead.org,
Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>,
linux-mm@kvack.org, Yang Shi <shy828301@gmail.com>,
syzbot+d1974fc28545a3e6218b@syzkaller.appspotmail.com,
David Hildenbrand <david@redhat.com>,
Kefeng Wang <wangkefeng.wang@huawei.com>
Subject: Re: [PATCH v2] arm64: mte: Do not warn if the page is already tagged in copy_highpage()
Date: Thu, 23 Oct 2025 18:58:06 +0100 [thread overview]
Message-ID: <176124228654.947262.14709608501971650824.b4-ty@arm.com> (raw)
In-Reply-To: <20251022101704.4015055-1-catalin.marinas@arm.com>
On Wed, 22 Oct 2025 11:09:14 +0100, Catalin Marinas wrote:
> The arm64 copy_highpage() assumes that the destination page is newly
> allocated and not MTE-tagged (PG_mte_tagged unset) and warns
> accordingly. However, following commit 060913999d7a ("mm: migrate:
> support poisoned recover from migrate folio"), folio_mc_copy() is called
> before __folio_migrate_mapping(). If the latter fails (-EAGAIN), the
> copy will be done again to the same destination page. Since
> copy_highpage() already set the PG_mte_tagged flag, this second copy
> will warn.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: mte: Do not warn if the page is already tagged in copy_highpage()
https://git.kernel.org/arm64/c/b98c94eed4a9
--
Catalin
prev parent reply other threads:[~2025-10-23 17:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-22 10:09 Catalin Marinas
2025-10-22 18:08 ` Yang Shi
2025-10-23 17:58 ` Catalin Marinas [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=176124228654.947262.14709608501971650824.b4-ty@arm.com \
--to=catalin.marinas@arm.com \
--cc=david@redhat.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mm@kvack.org \
--cc=shy828301@gmail.com \
--cc=syzbot+d1974fc28545a3e6218b@syzkaller.appspotmail.com \
--cc=wangkefeng.wang@huawei.com \
--cc=will@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