On Thu, Jan 19, 2023 at 07:50:09PM +0100, Uladzislau Rezki wrote: > After this patch same check in the end of the vunmap() becomes odd > because we fail a vmap() call on its entry if VM_FLUSH_RESET_PERMS > flag is set. See the [1] patch in this series. > > Is there any reason for such duplication? Mostly just documentation for me to explain why no flushing is needed. But I can drop it.