On Thursday, November 03, 2016 3:34 AM Andrea Arcangeli wrote: > @@ -576,7 +581,8 @@ SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, > goto out; > } > > - ret = move_vma(vma, addr, old_len, new_len, new_addr, &locked); > + ret = move_vma(vma, addr, old_len, new_len, new_addr, > + &locked, &uf); > } > out: > if (offset_in_page(ret)) { > @@ -586,5 +592,6 @@ SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, > up_write(¤t->mm->mmap_sem); > if (locked && new_len > old_len) > mm_populate(new_addr + old_len, new_len - old_len); > + mremap_userfaultfd_complete(uf, addr, new_addr, old_len); nit: s/uf/&uf/ > return ret; > } > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>