From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,v-songbaohua@oppo.com,surenb@google.com,peterx@redhat.com,kaleshsingh@google.com,david@redhat.com,baohua@kernel.org,lokeshgidra@google.com,akpm@linux-foundation.org
Subject: [folded-merged] userfaultfd-opportunistic-tlb-flush-batching-for-present-pages-in-move-v6.patch removed from -mm tree
Date: Sat, 13 Sep 2025 15:17:23 -0700 [thread overview]
Message-ID: <20250913221723.C81E9C4CEEB@smtp.kernel.org> (raw)
The quilt patch titled
Subject: userfaultfd-opportunistic-tlb-flush-batching-for-present-pages-in-move-v6
has been removed from the -mm tree. Its filename was
userfaultfd-opportunistic-tlb-flush-batching-for-present-pages-in-move-v6.patch
This patch was dropped because it was folded into userfaultfd-opportunistic-tlb-flush-batching-for-present-pages-in-move.patch
------------------------------------------------------
From: Lokesh Gidra <lokeshgidra@google.com>
Subject: userfaultfd-opportunistic-tlb-flush-batching-for-present-pages-in-move-v6
Date: Sat, 16 Aug 2025 12:11:23 -0700
make calculation of largest extent that can be batched unconditional on
length, per Barry
Link: https://lkml.kernel.org/r/20250816191123.3601561-1-lokeshgidra@google.com
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Barry Song <baohua@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Barry Song <v-songbaohua@oppo.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/userfaultfd.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
--- a/mm/userfaultfd.c~userfaultfd-opportunistic-tlb-flush-batching-for-present-pages-in-move-v6
+++ a/mm/userfaultfd.c
@@ -1081,11 +1081,8 @@ static long move_present_ptes(struct mm_
unsigned long src_start = src_addr;
unsigned long src_end;
- if (len > PAGE_SIZE) {
- len = pmd_addr_end(dst_addr, dst_addr + len) - dst_addr;
- src_end = pmd_addr_end(src_addr, src_addr + len);
- } else
- src_end = src_addr + len;
+ len = pmd_addr_end(dst_addr, dst_addr + len) - dst_addr;
+ src_end = pmd_addr_end(src_addr, src_addr + len);
flush_cache_range(src_vma, src_addr, src_end);
double_pt_lock(dst_ptl, src_ptl);
_
Patches currently in -mm which might be from lokeshgidra@google.com are
userfaultfd-opportunistic-tlb-flush-batching-for-present-pages-in-move.patch
reply other threads:[~2025-09-13 22:17 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=20250913221723.C81E9C4CEEB@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=baohua@kernel.org \
--cc=david@redhat.com \
--cc=kaleshsingh@google.com \
--cc=lokeshgidra@google.com \
--cc=mm-commits@vger.kernel.org \
--cc=peterx@redhat.com \
--cc=surenb@google.com \
--cc=v-songbaohua@oppo.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.