Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1576010

Re: [PATCH] userfaultfd: mcopy_atomic: update cases returning -ENOENT

From Andrea Arcangeli <aarcange@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] userfaultfd: mcopy_atomic: update cases returning -ENOENT
Date 2017-02-07 21:10 +0100
Message-ID <t8kfo-7qC-19@gated-at.bofh.it> (permalink)
References <t8fz5-4vL-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 07, 2017 at 05:02:50PM +0200, Mike Rapoport wrote:
> Hello Andrew,
> 
> The patch below is an incremental fixup for concerns Andrea raised at [1].
> Please let me know if you prefer me to update the original patch and
> resend.
> 
> [1] http://www.spinics.net/lists/linux-mm/msg121267.html
> 
> --
> Sincerely yours,
> Mike.
> 
> From 8acff65ecee8ca4cc892d35b45125c34568d1c93 Mon Sep 17 00:00:00 2001
> From: Mike Rapoport <rppt@linux.vnet.ibm.com>
> Date: Tue, 7 Feb 2017 11:50:17 +0200
> Subject: [PATCH] userfaultfd: mcopy_atomic: update cases returning -ENOENT
> 
> As Andrea commented in [1], if the VMA covering the address was unmapped,
> we may end up with a VMA a way above the faulting address. In this case we
> would like to return -ENOENT to allow uffd monitor detection of VMA
> removal.
> 
> [1] http://www.spinics.net/lists/linux-mm/msg121267.html
> 
> Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>

Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] userfaultfd: mcopy_atomic: update cases returning -ENOENT Mike Rapoport <rppt@linux.vnet.ibm.com> - 2017-02-07 16:10 +0100
  Re: [PATCH] userfaultfd: mcopy_atomic: update cases returning -ENOENT Andrea Arcangeli <aarcange@redhat.com> - 2017-02-07 21:10 +0100

csiph-web