Messages in this thread | | | Date | Thu, 28 Sep 2023 12:28:51 -0400 | From | Peter Xu <> | Subject | Re: [PATCH v2 2/3] userfaultfd: UFFDIO_REMAP uABI |
| |
On Wed, Sep 27, 2023 at 11:25:22AM -0700, Suren Baghdasaryan wrote: > For uffd_remap can_change_pte_writable() would fail it VM_WRITE is not > set, but we want remapping to work for RO memory as well.
Is there an use case that we want remap to work on RO?
The thing is, either removing a page or installing a new one with valid content imply VM_WRITE to me on either side..
Thanks,
-- Peter Xu
| |