diff options
| author | Peter Xu <[email protected]> | 2023-04-12 12:45:17 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-18 16:30:07 -0700 |
| commit | 4df9cefa9419718c32259c105ac8fbbc680410f7 (patch) | |
| tree | a280b2b7099b80755bfa6843bc2ffa370b82730e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | c3315502c92406ec5bf36ba687f9651b43f838f6 (diff) | |
selftests/mm: workaround no way to detect uffd-minor + wp
Userfaultfd minor+wp mode was very recently added. The test will fail on
the old kernels at ioctl(UFFDIO_CONTINUE) which is misterious.
Unfortunately there's no feature bit to detect for this support.
Add a hack to leverage WP_UNPOPULATED to detect whether that feature
existed, since WP_UNPOPULATED was merged right after minor+wp.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peter Xu <[email protected]>
Cc: Axel Rasmussen <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Dmitry Safonov <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Mike Rapoport (IBM) <[email protected]>
Cc: Zach O'Keefe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions