Skip to contentSkip to conversation

mm-add-vm_insert_pages.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 12, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/memory.c: add vm_insert_pages()
has been removed from the -mm tree. Its filename was
mm-add-vm_insert_pages.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Arjun Roy <[email protected]>
Subject: mm/memory.c: add vm_insert_pages()

Add the ability to insert multiple pages at once to a user VM with lower PTE spinlock operations.

The intention of this patch-set is to reduce atomic ops for tcp zerocopy receives, which normally hits the same spinlock multiple times consecutively.

[[email protected]: pte_alloc() no longer takes the `addr' argument]
[[email protected]: add missing page_count() check to vm_insert_pages()]
[[email protected]: vm_insert_pages() checks if pte_index defined]
Cc David Miller <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Jason Gunthorpe <[email protected]>
Cc Stephen Rothwell <[email protected]>

---

 include/linux/mm.h |    2 
 mm/memory.c        |  129 ++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 129 insertions(+), 2 deletions(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-add-vm_insert_pages +2 -0
@@ -2689,6 +2689,8 @@ struct vm_area_struct *find_extend_vma(s
 int remap_pfn_range(struct vm_area_struct *, unsigned long addr,
 			unsigned long pfn, unsigned long size, pgprot_t);
 int vm_insert_page(struct vm_area_struct *, unsigned long addr, struct page *);
+int vm_insert_pages(struct vm_area_struct *vma, unsigned long addr,
+			struct page **pages, unsigned long *num);
 int vm_map_pages(struct vm_area_struct *vma, struct page **pages,
 				unsigned long num);
 int vm_map_pages_zero(struct vm_area_struct *vma, struct page **pages,
mm/memory.c renamed from mm/memory.c~mm-add-vm_insert_pages +127 -2

147 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

net-zerocopy-use-vm_insert_pages-for-tcp-rcv-zerocopy.patch