v2
2026-09-01
让kselftest支持nommu平台 · v2
为nommu平台增加kselftest支持,解决编译与fork依赖问题,新增基于nommu-mmap文档的mm/nommu测试。
原始补丁链接
子 Patch(2)
1/2
selftests: run tests on nommu architecture
Architectures lacks MMU doesn’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/mm: 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