-
Bug
-
Resolution: Unresolved
-
Undefined
-
False
-
-
False
-
rhel-sst-filesystems
-
-
The uffd-stress (userfaultfd kselftest) is failing on some boxes due to an invalid MiB allocation request:
- ----------------------------------
- running ./uffd-stress hugetlb 8 32
- ----------------------------------
- ERROR: invalid MiB (errno=9, @uffd-stress.c:457)
- Usage: ./uffd-stress <test type> <MiB> <bounces>
- Supported <test type>: anon, hugetlb, hugetlb-private, shmem, shmem-private
- Examples:
- # Run anonymous memory test on 100MiB region with 99999 bounces:
- ./uffd-stress anon 100 99999
- # Run share memory test on 1GiB region with 99 bounces:
- ./uffd-stress shmem 1000 99
- # Run hugetlb memory test on 256MiB region with 50 bounces:
- ./uffd-stress hugetlb 256 50
- # Run the same hugetlb test but using private file:
- ./uffd-stress hugetlb-private 256 50
- # 10MiB-~6GiB 999 bounces anonymous test, continue forever unless an error triggers
- while ./uffd-stress anon $[RANDOM % 6000 + 10] 999; do true; done
- [FAIL]
not ok 3 uffd-stress hugetlb 8 32 # exit=1
Example test failure:
https://datawarehouse.cki-project.org/kcidb/tests/15877723