From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,vivek.kasireddy@intel.com,sj@kernel.org,akpm@linux-foundation.org,akpm@linux-foundation.org
Subject: [withdrawn] mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix-fix.patch removed from -mm tree
Date: Fri, 12 Jul 2024 15:32:41 -0700 [thread overview]
Message-ID: <20240712223242.0C547C32782@smtp.kernel.org> (raw)
The quilt patch titled
Subject: mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix-fix
has been removed from the -mm tree. Its filename was
mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix-fix.patch
This patch was dropped because it was withdrawn
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix-fix
Date: Fri Jul 5 03:12:47 PM PDT 2024
propagate try_grab_folio() retval, including the weird -EREMOTEIO
Cc: SeongJae Park <sj@kernel.org>
Cc: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/gup.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- a/mm/gup.c~mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix-fix
+++ a/mm/gup.c
@@ -3851,6 +3851,8 @@ long memfd_pin_folios(struct file *memfd
next_idx = 0;
for (i = 0; i < nr_found; i++) {
+ int ret2;
+
/*
* As there can be multiple entries for a
* given folio in the batch returned by
@@ -3863,10 +3865,10 @@ long memfd_pin_folios(struct file *memfd
continue;
folio = page_folio(&fbatch.folios[i]->page);
-
- if (try_grab_folio(folio, 1, FOLL_PIN)) {
+ ret2 = try_grab_folio(folio, 1, FOLL_PIN);
+ if (ret2) {
folio_batch_release(&fbatch);
- ret = -EINVAL;
+ ret = ret2;
goto err;
}
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-hugetlbc-undo-errant-change.patch
mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix.patch
mm-migrate-putback-split-folios-when-numa-hint-migration-fails-fix.patch
reply other threads:[~2024-07-12 22:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240712223242.0C547C32782@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=mm-commits@vger.kernel.org \
--cc=sj@kernel.org \
--cc=vivek.kasireddy@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.