And I hit this:
# ------------------------- # running ./uffd-unit-tests # ------------------------- # Testing UFFDIO_API (with syscall)... done # Testing UFFDIO_API (with /dev/userfaultfd)... done # Testing register-ioctls on anon... ERROR: munmap (errno=22, @uffd-common.c:277) # done # [FAIL] not ok 6 uffd-unit-tests # exit=1
It reproduced on a second run but I haven't dug any further at all.
I haven't been able to reproduce this -- both with and without my patch on mm-new and mainline; I see why you've commented out uffd-tests in your test script :) I ran into this *once* earlier when liburing wasn't installed, perhaps that could be related?
Will send a v5 soon retaining the test_uffdio_copy_eexist variable as suggested.
Thanks, Ujwal