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
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