userfaultfd-non-cooperative-dup_userfaultfd-use-mm_count-instead-of-mm_users.patch removed from -mm tree
The patch titled
Subject: userfaultfd: non-cooperative: dup_userfaultfd: use mm_count instead of mm_users
has been removed from the -mm tree. Its filename was
userfaultfd-non-cooperative-dup_userfaultfd-use-mm_count-instead-of-mm_users.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Mike Rapoport <[email protected]>
Subject: userfaultfd: non-cooperative: dup_userfaultfd: use mm_count instead of mm_users
Since commit d2005e3f41d4 (userfaultfd: don't pin the user memory in userfaultfd_file_create()) userfaultfd uses mm_count rather than mm_users to pin mm_struct. Make dup_userfaultfd consistent with this behaviour
---
fs/userfaultfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/userfaultfd.c renamed from fs/userfaultfd.c~userfaultfd-non-cooperative-dup_userfaultfd-use-mm_count-instead-of-mm_users +1 -1
@@ -558,7 +558,7 @@ int dup_userfaultfd(struct vm_area_struc ctx->features = octx->features; ctx->released = false; ctx->mm = vma->vm_mm; -atomic_inc (&ctx->mm->mm_users); +atomic_inc (&ctx->mm->mm_count);userfaultfd_ctx_get (octx); fctx->orig = octx;
_
Patches currently in -mm which might be from [email protected] are
userfaultfd-non-cooperative-rename-event_madvdontneed-to-event_remove.patch userfaultfd-non-cooperative-add-madvise-event-for-madv_remove-request.patch userfaultfd-non-cooperative-selftest-enable-remove-event-test-for-shmem.patch mm-call-vm_munmap-in-munmap-syscall-instead-of-using-open-coded-version.patch userfaultfd-non-cooperative-add-event-for-memory-unmaps.patch userfaultfd-non-cooperative-add-event-for-exit-notification.patch userfaultfd-non-cooperative-add-event-for-exit-notification-fix.patch userfaultfd-mcopy_atomic-return-enoent-when-no-compatible-vma-found.patch userfaultfd-mcopy_atomic-return-enoent-when-no-compatible-vma-found-fix.patch userfaultfd_copy-return-enospc-in-case-mm-has-gone.patch userfaultfd-documentation-update.patch