mm-gup-remove-page_folio-in-memfd_pin_folios.patch removed from -mm tree
The quilt patch titled
Subject: mm/gup: remove page_folio() in memfd_pin_folios()
has been removed from the -mm tree. Its filename was
mm-gup-remove-page_folio-in-memfd_pin_folios.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Vishal Moola (Oracle)" <[email protected]>
Subject: mm/gup: remove page_folio() in memfd_pin_folios()
Date: Tue, 29 Apr 2025 18:00:59 -0700
We can get the folio directly from the folio batch, so remove the unnecessary page_folio() call.
Signed-off-by Vishal Moola (Oracle) <[email protected]>
Acked-by Vivek Kasireddy <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/gup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/gup.c renamed from mm/gup.c~mm-gup-remove-page_folio-in-memfd_pin_folios +1 -1
@@ -3641,7 +3641,7 @@ long memfd_pin_folios(struct file *memfd }for (i =0 ; i < nr_found; i++) { - folio =page_folio (&fbatch.folios[i]->page); + folio = fbatch.folios[i];if (try_grab_folio (folio,1 ,FOLL_PIN )) {folio_batch_release (&fbatch);
_
Patches currently in -mm which might be from [email protected] are