You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge: selftests/mm: resolve virtual_address_range test fail on rhel-9.6
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/6781
JIRA: https://issues.redhat.com/browse/RHEL-88165
Tested: by me, using RHEL-9.6 s390x and aarch64 arches.
This is a bunch of backports to resolve virtual_address_range test fail on rhel9:
```
3bd6137 selftests/mm: virtual_address_range: avoid reading from VM_IO mappings
3c479b5 selftests/mm: vm_util: split up /proc/self/smaps parsing
391e869 mm: selftest to verify zero-filled pages are mapped to zeropage
b2a79f6 selftests/mm: virtual_address_range: unmap chunks after validation
a005145 selftests/mm: virtual_address_range: mmap() without PROT_WRITE
e847f8c selftest/mm: fix typo in virtual_address_range
86483f8 selftests: add ksft_exit_fail_perror()
```
Considering the __get_smap_entry is called by check_vmflag_io() and new ksft_exit_fail_perror() is needed by mark_range(), we have to additionally backport a few more commits (3c479b5, 391e869, 86483f8) to resolve the compiling error on RHEL9.
Conflicts:
- 86483f8: Minor merge conflict of ksft_exit_fail_perror(), no functional changes.
- 3bd6137: Minor merge conflict of check_vmflag_io(), no functional changes.
- 391e869: Dropped updates to split_huge_page_test.c (split_pmd_zero_pages() not needed).
Omitted-fix: 136c5b4 ("selftests/mm: use selftests framework to print test result")
Signed-off-by: Li Wang <liwang@redhat.com>
Approved-by: Rafael Aquini <raquini@redhat.com>
Approved-by: Waiman Long <longman@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: Augusto Caringi <acaringi@redhat.com>
0 commit comments