Thread (38 messages) 38 messages, 9 authors, 2018-10-16

Re: [PATCH v2 2/2] mm: speed up mremap by 500x on large regions

From: Kirill A. Shutemov <hidden>
Date: 2018-10-12 11:36:51
Also in: kvmarm, linux-alpha, linux-mips, linux-mm, linux-riscv, linux-s390, linux-um

On Fri, Oct 12, 2018 at 02:30:56PM +0300, Kirill A. Shutemov wrote:
On Thu, Oct 11, 2018 at 06:37:56PM -0700, Joel Fernandes (Google) wrote:
quoted
@@ -239,7 +287,21 @@ unsigned long move_page_tables(struct vm_area_struct *vma,
 			split_huge_pmd(vma, old_pmd, old_addr);
 			if (pmd_trans_unstable(old_pmd))
 				continue;
+		} else if (extent == PMD_SIZE) {
Hm. What guarantees that new_addr is PMD_SIZE-aligned?
It's not obvious to me.
Ignore this :)

-- 
 Kirill A. Shutemov
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help