Closed kawasin73 closed 1 year ago
UFFDIO_COPY returns EAGAIN when "The number of bytes copied (i.e., the value returned in the copy field) does not equal the value that was specified in the len field." (the man page: https://man7.org/linux/man-pages/man2/ioctl_userfaultfd.2.html)
We need the copy field of struct uffdio_copy to retry copying.
Sorry for the delay!
UFFDIO_COPY returns EAGAIN when "The number of bytes copied (i.e., the value returned in the copy field) does not equal the value that was specified in the len field." (the man page: https://man7.org/linux/man-pages/man2/ioctl_userfaultfd.2.html)
We need the copy field of struct uffdio_copy to retry copying.