Re: userfaultfd: two-step UFFDIO_API always gives -EINVAL
From: stsp
Date: Tue Nov 26 2024 - 05:03:36 EST
25.11.2024 21:44, Muhammad Usama Anjum пишет:
The UFFD_FEATURE_WP_ASYNC was designed for exactly this case.
The IOCTL will return you the modified pages. An example of usage
can be found in selftest/mm/pagemap_ioctl.c.
Am I right that in this case there
are no more async notifications?
I.e. I need to run PAGEMAP_SCAN
ioctl() periodically, and there is
nothing to "ping" me on that?
Or have I missed that part in the
pagemap_ioctl.c?