diff options
| author | Yonghong Song <yonghong.song@linux.dev> | 2025-06-06 18:36:15 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-06-06 19:21:43 -0700 |
| commit | 377d3715900c1f465a5ea8a6a11bcbdc42b18668 (patch) | |
| tree | 0c1893cc584a0414b5a8b455d605aaa90c8f0f19 /scripts/gdb/linux/utils.py | |
| parent | ae8824037a0ac550745b223aa3680819ed65e8db (diff) | |
selftests/bpf: Fix bpf_mod_race test failure with arm64 64KB page size
Currently, uffd_register.range.len is set to 4096 for command
'ioctl(uffd, UFFDIO_REGISTER, &uffd_register)'. For arm64 64KB page size,
the len must be 64KB size aligned as page size alignment is required.
See fs/userfaultfd.c:validate_unaligned_range().
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20250607013615.1551783-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
