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

2025-07-06 Thread Alistair Popple
On Fri, Jun 20, 2025 at 04:12:35PM +0200, Oscar Salvador wrote: > 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 > > Reviewed-by: Oscar Salvador > > I was thinking maybe we want to pass 'struct vm_f

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

2025-06-20 Thread Oscar Salvador
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 Reviewed-by: Oscar Salvador I was thinking maybe we want to pass 'struct vm_fault' directly to insert_pmd(), and retrieve the fields in there, but since you

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

2025-06-17 Thread David Hildenbrand
Let's clean it all further up. Signed-off-by: David Hildenbrand --- mm/huge_memory.c | 72 1 file changed, 24 insertions(+), 48 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index e52360df87d15..a85e0cd455109 100644 --- a/mm/huge_