[PATCH 5/6] userfault; Expand folio use in mfill_atomic_install_pte()

2024-04-23 Thread Matthew Wilcox (Oracle)
Call page_folio() a little earlier so we can use folio_mapping() instead of page_mapping(), saving a call to compound_head(). Signed-off-by: Matthew Wilcox (Oracle) --- mm/userfaultfd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mm/userfaultfd.c b/mm/userfaultfd.c i

Re: [PATCH 5/6] userfault; Expand folio use in mfill_atomic_install_pte()

2024-04-24 Thread David Hildenbrand
On 24.04.24 00:55, Matthew Wilcox (Oracle) wrote: Call page_folio() a little earlier so we can use folio_mapping() instead of page_mapping(), saving a call to compound_head(). Signed-off-by: Matthew Wilcox (Oracle) --- Reviewed-by: David Hildenbrand -- Cheers, David / dhildenb