Re: [PATCH v4 1/3] mm: khugepaged: fix swap entry value to folio_pfn()
From: David Hildenbrand (Arm)
Date: Tue Sep 08 2026 - 03:48:34 EST
> > Yes, this is the approach Lorenzo[1] suggested in the previous version.
>
> [1] https://lore.kernel.org/linux-mm/ao6jVbVHLUmuY2UA@gremlin/
>
>> When result == SCAN_SUCCEED, failed_pfn == -1 no?
>
> Your understanding is completely correct, and I explained at the time
> that this was redundant.
>
Lorenzo said: "But it's not exactly a show stopper this :)", so I'd assume he'd
be fine with a single trace statement.
I'd say we keep it is simple as possible and use a single trace statement :)
--
Cheers,
David