The quilt patch titled Subject: mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix has been removed from the -mm tree. Its filename was mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix.patch This patch was dropped because it was folded into mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix Date: Fri Jul 5 02:15:29 PM PDT 2024 improve the CONFIG_MMU=n situation, per SeongJae Acked-by: Vivek Kasireddy <vivek.kasireddy@xxxxxxxxx> Cc: SeongJae Park <sj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/gup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/mm/gup.c~mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix +++ a/mm/gup.c @@ -3859,9 +3859,9 @@ long memfd_pin_folios(struct file *memfd next_idx != folio_index(fbatch.folios[i])) continue; - folio = try_grab_folio_fast(&fbatch.folios[i]->page, - 1, FOLL_PIN); - if (!folio) { + folio = page_folio(&fbatch.folios[i]->page); + + if (try_grab_folio(folio, 1, FOLL_PIN)) { folio_batch_release(&fbatch); ret = -EINVAL; goto err; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-hugetlbc-undo-errant-change.patch mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios.patch mm-page_counter-move-calculating-protection-values-to-page_counter-fix.patch mm-migrate-putback-split-folios-when-numa-hint-migration-fails-fix.patch