On Jul 13, 2022, at 9:02 AM, Peter Xu <peterx@xxxxxxxxxx> wrote: > On Tue, Jul 12, 2022 at 06:09:35PM -0700, Nadav Amit wrote: >> On Jul 12, 2022, at 7:56 AM, Peter Xu <peterx@xxxxxxxxxx> wrote: > > > What you suggested at the end sounds good to me, thanks for being > persistent. The only thing uncertain seems to be whether we need > WRITE_HINT for UFFDIO_WRITEPROTECT, all the rest sounds a good plan. Peter, thanks for the detailed feedback. I understand and agree with most of what you wrote. I think we still have the mprotect()/UFFDIO_WRITE(un)PROTECT issue, which I either do not understand your position or disagree with it. :) Anyhow, instead of too many words, I’ll send v2 based on your feedback, which would help to refine the behavior and clear any misunderstanding we might have.