Re: [PATCH] mm/khugepaged: mark a collapsed mTHP dirty
From: Daniel Wade
Date: Tue Nov 17 2026 - 04:10:48 EST
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.
Dropping mine, yours obsoletes it.
Reviewed-by: Daniel Wade <danjwade95@xxxxxxxxx>