Re: [PATCH RFC 04/14] mm/huge_memory: move more common code into insert_pmd()

From: Oscar Salvador
Date: Fri Jun 20 2025 - 10:12:59 EST


On Tue, Jun 17, 2025 at 05:43:35PM +0200, David Hildenbrand wrote:
> Let's clean it all further up.
>
> Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>

Reviewed-by: Oscar Salvador <osalvador@xxxxxxx>

I was thinking maybe we want to pass 'struct vm_fault' directly to insert_pmd(),
and retrieve the fields in there, but since you have to retrieve some in
insert_pfn_pmd().. maybe not.


--
Oscar Salvador
SUSE Labs