Re: [PATCH v3 4/4] ioctl_userfaultfd.2: Add write-protect mode docs

Peter Xu
2021-03-22T22:07:28Z

On Fri, Mar 19, 2021 at 11:37:20PM +0100, Alejandro Colomar (man-pages) wrote:
> Hi Peter,

Hi, Alex,

> > +generate another write-protect userfault message.
> > +This is only used in conjunction with write-protect mode when both missing and
>
> "when both missing"
>
> both what?

I modified it to:

This is only used when both
.B UFFDIO_REGISTER_MODE_MISSING
and
.B UFFDIO_REGISTER_MODE_WP
modes are enabled for the registered range.

And I fixed all the rest, including all the comments in patch 3.

Thanks for looking, I'll repost shortly.

--
Peter Xu