Re: [PATCH v2 10/26] userfaultfd: wp: add UFFDIO_COPY_MODE_WP

2019-02-26 Thread Mike Rapoport
On Tue, Feb 26, 2019 at 01:09:42PM +0800, Peter Xu wrote: > On Mon, Feb 25, 2019 at 05:58:37PM +0200, Mike Rapoport wrote: > > On Tue, Feb 12, 2019 at 10:56:16AM +0800, Peter Xu wrote: > > > From: Andrea Arcangeli > > > > > > This allows UFFDIO_COPY to map pages wrprotected. > >

Re: [PATCH v2 10/26] userfaultfd: wp: add UFFDIO_COPY_MODE_WP

2019-02-25 Thread Peter Xu
On Mon, Feb 25, 2019 at 05:58:37PM +0200, Mike Rapoport wrote: > On Tue, Feb 12, 2019 at 10:56:16AM +0800, Peter Xu wrote: > > From: Andrea Arcangeli > > > > This allows UFFDIO_COPY to map pages wrprotected. >write protected please :) Sure! > > > > Signe

Re: [PATCH v2 10/26] userfaultfd: wp: add UFFDIO_COPY_MODE_WP

2019-02-25 Thread Mike Rapoport
On Tue, Feb 12, 2019 at 10:56:16AM +0800, Peter Xu wrote: > From: Andrea Arcangeli > > This allows UFFDIO_COPY to map pages wrprotected. write protected please :) > > Signed-off-by: Andrea Arcangeli > Signed-off-by: Peter Xu Except for two additional nit

Re: [PATCH v2 10/26] userfaultfd: wp: add UFFDIO_COPY_MODE_WP

2019-02-24 Thread Peter Xu
On Fri, Feb 22, 2019 at 10:15:47AM -0500, Jerome Glisse wrote: > On Fri, Feb 22, 2019 at 03:11:06PM +0800, Peter Xu wrote: > > On Thu, Feb 21, 2019 at 12:29:19PM -0500, Jerome Glisse wrote: > > > On Tue, Feb 12, 2019 at 10:56:16AM +0800, Peter Xu wrote: > > > > From: Andrea Arcangeli > > > > > >

Re: [PATCH v2 10/26] userfaultfd: wp: add UFFDIO_COPY_MODE_WP

2019-02-22 Thread Jerome Glisse
On Fri, Feb 22, 2019 at 03:11:06PM +0800, Peter Xu wrote: > On Thu, Feb 21, 2019 at 12:29:19PM -0500, Jerome Glisse wrote: > > On Tue, Feb 12, 2019 at 10:56:16AM +0800, Peter Xu wrote: > > > From: Andrea Arcangeli > > > > > > This allows UFFDIO_COPY to map pages wrprotected. > > > > > > Signed-o

Re: [PATCH v2 10/26] userfaultfd: wp: add UFFDIO_COPY_MODE_WP

2019-02-21 Thread Peter Xu
On Thu, Feb 21, 2019 at 12:29:19PM -0500, Jerome Glisse wrote: > On Tue, Feb 12, 2019 at 10:56:16AM +0800, Peter Xu wrote: > > From: Andrea Arcangeli > > > > This allows UFFDIO_COPY to map pages wrprotected. > > > > Signed-off-by: Andrea Arcangeli > > Signed-off-by: Peter Xu > > Minor nitpick

Re: [PATCH v2 10/26] userfaultfd: wp: add UFFDIO_COPY_MODE_WP

2019-02-21 Thread Jerome Glisse
On Tue, Feb 12, 2019 at 10:56:16AM +0800, Peter Xu wrote: > From: Andrea Arcangeli > > This allows UFFDIO_COPY to map pages wrprotected. > > Signed-off-by: Andrea Arcangeli > Signed-off-by: Peter Xu Minor nitpick down below, but in any case: Reviewed-by: Jérôme Glisse > --- > fs/userfault

[PATCH v2 10/26] userfaultfd: wp: add UFFDIO_COPY_MODE_WP

2019-02-11 Thread Peter Xu
From: Andrea Arcangeli This allows UFFDIO_COPY to map pages wrprotected. Signed-off-by: Andrea Arcangeli Signed-off-by: Peter Xu --- fs/userfaultfd.c | 5 +++-- include/linux/userfaultfd_k.h| 2 +- include/uapi/linux/userfaultfd.h | 11 +- mm/userfaultfd.c