Re: [PATCH] mm/khugepaged: mark a collapsed mTHP dirty
From: David Hildenbrand (Arm)
Date: Tue Nov 17 2026 - 04:40:45 EST
On 11/17/26 10:10, Daniel Wade wrote:
> On Tue, 17 Nov 2026 09:13:09 +0100
> "David Hildenbrand (Arm)" <david@xxxxxxxxxx> wrote:
>
>> I have a different patch on my queue here that fixes this as well I think. Please review.
>
> Yep had a look and yours does fix it.
>
> It's more than soft-dirty though. If the folio gets dropped while
> another process still maps it that process reads zeroes, I had 64K of a
> child's memory come back wrong. So might need a stable backport.
Yes, I'll add you reported-by and clarify in the patch description.
I expected nobody really runs into this I practice (odd combination of things),
but CC stable makes sense.
>
> Dropping mine, yours obsoletes it.
>
> Reviewed-by: Daniel Wade <danjwade95@xxxxxxxxx>
Thanks, I just sent out a proper patch.
--
Cheers,
David