linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] userfaultfd: mcopy_atomic: update cases returning -ENOENT
@ 2017-02-07 15:02 Mike Rapoport
  2017-02-07 20:06 ` Andrea Arcangeli
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Rapoport @ 2017-02-07 15:02 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Andrea Arcangeli, Dr. David Alan Gilbert, Hillf Danton,
	Mike Kravetz, Pavel Emelyanov, Linux-MM, LKML

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] userfaultfd: mcopy_atomic: update cases returning -ENOENT
  2017-02-07 15:02 [PATCH] userfaultfd: mcopy_atomic: update cases returning -ENOENT Mike Rapoport
@ 2017-02-07 20:06 ` Andrea Arcangeli
  0 siblings, 0 replies; 2+ messages in thread
From: Andrea Arcangeli @ 2017-02-07 20:06 UTC (permalink / raw)
  To: Mike Rapoport
  Cc: Andrew Morton, Dr. David Alan Gilbert, Hillf Danton, Mike Kravetz,
	Pavel Emelyanov, Linux-MM, LKML

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>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-07 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-07 15:02 [PATCH] userfaultfd: mcopy_atomic: update cases returning -ENOENT Mike Rapoport
2017-02-07 20:06 ` Andrea Arcangeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).