The patch titled Subject: fs/userfaultfd.c: simplify the calculation of new_flags has been removed from the -mm tree. Its filename was fs-userfaultfdc-simplify-the-calculation-of-new_flags.patch This patch was dropped because it was withdrawn ------------------------------------------------------ From: Wei Yang <richardw.yang@xxxxxxxxxxxxxxx> Subject: fs/userfaultfd.c: simplify the calculation of new_flags Finally new_flags equals old vm_flags *OR* vm_flags. It is not necessary to mask them first. Link: http://lkml.kernel.org/r/20190806053859.2374-1-richardw.yang@xxxxxxxxxxxxxxx Signed-off-by: Wei Yang <richardw.yang@xxxxxxxxxxxxxxx> Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/userfaultfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/userfaultfd.c~fs-userfaultfdc-simplify-the-calculation-of-new_flags +++ a/fs/userfaultfd.c @@ -1460,7 +1460,7 @@ static int userfaultfd_register(struct u start = vma->vm_start; vma_end = min(end, vma->vm_end); - new_flags = (vma->vm_flags & ~vm_flags) | vm_flags; + new_flags = vma->vm_flags | vm_flags; prev = vma_merge(mm, prev, start, vma_end, new_flags, vma->anon_vma, vma->vm_file, vma->vm_pgoff, vma_policy(vma), _ Patches currently in -mm which might be from richardw.yang@xxxxxxxxxxxxxxx are mm-fix-typo-in-the-comment-when-calling-function-__setpageuptodate.patch mm-mmapc-remove-a-never-trigger-warning-in-__vma_adjust.patch hugetlb-remove-unused-hstate-in-hugetlb_fault_mutex_hash.patch userfaultfd-use-vma_pagesize-for-all-huge-page-size-calculation.patch userfaultfd-remove-unnecessary-warn_on-in-__mcopy_atomic_hugetlb.patch userfaultfd-wrap-the-common-dst_vma-check-into-an-inlined-function.patch