* [merged mm-stable] mm-gup-remove-page_folio-in-memfd_pin_folios.patch removed from -mm tree
@ 2025-05-13 6:55 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-05-13 6:55 UTC (permalink / raw)
To: mm-commits, vivek.kasireddy, david, vishal.moola, akpm
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)" <vishal.moola@gmail.com>
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.
Link: https://lkml.kernel.org/r/20250430010059.892632-3-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/gup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/gup.c~mm-gup-remove-page_folio-in-memfd_pin_folios
+++ a/mm/gup.c
@@ -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 vishal.moola@gmail.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-05-13 6:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-13 6:55 [merged mm-stable] mm-gup-remove-page_folio-in-memfd_pin_folios.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.