v4
2026-09-30
让kselftest支持nommu平台 · v4
为 nommu 平台启用 kselftest,解决无 fork 与 glibc 依赖,新增 mmap/mremap 行为测试。
原始补丁链接
子 Patch(2)
1/2
selftests: run tests on nommu architecture
Architectures lacking MMU don’t support fork(2) syscall and only vfork(2) is available with limitations. Thus, we cannot run kselftest on nommu architecture as is. This commit addresses this issue w
2/2
selftests/nommu: add nommu mmap and mremap behavior tests
Introduce a kselftest utility to validate memory mapping capabilities under nommu kernels, aligned with Documentation/admin-guide/mm/nommu-mmap.rst. The test implements basic checks into a generic ar