Re: [RFC PATCH 0/6] Remove XA_ZERO from error recovery of

From: Liam R. Howlett
Date: Mon Aug 18 2025 - 11:05:34 EST


* Charan Teja Kalla <quic_charante@xxxxxxxxxxx> [250818 10:27]:
>
> On 8/18/2025 3:14 PM, David Hildenbrand wrote:
> >> Before you read on, please take a moment to acknowledge that David
> >> Hildenbrand asked for this, so I'm blaming mostly him 🙂
> >
>
> Just curious If we can go by the suggestion of mm unstable check just
> for the 6.12, as it is LTS. I can't see this issue on branches earlier
> to it. As well this patchset is not getting applied cleanly on 6.12.

This was developed against mm-new to be applied and potentially
backported, but it's an RFC right now so it won't be applied anywhere.

I think you still should be checking the MMF_UNSTABLE in the swap path,
as David suggested as a hotfix [1]. Considering it's a single mm global
check before iterating, it should be checked regardless of what happens
with this RFC.

Thanks,
Liam

[1]. https://lore.kernel.org/linux-mm/9178bf98-2ea7-4ad8-ad43-cdcc02ab863d@xxxxxxxxxx/