summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMykyta Yatsenko <yatsenko@meta.com>2026-06-03 07:39:15 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-06-05 14:09:36 -0700
commitaa22d619ba22177f430693cf5e9495052d996644 (patch)
treefbfbec52b5187b78f78feb075da1bcbc863f86c7 /include/linux/debugobjects.h
parentf64c723741c911544cca4c838d7a291b06b3ad1d (diff)
selftests/bpf: Fix flaky file_reader test
file_reader/on_open_expect_fault test expects page fault when reading pages from the test harness executable. It is not guaranteed that those are paged out, even after madvise(MADV_PAGEOUT). Relax the condition in the test to succeed with both 0 and -EFAULT returned. Fixes: 784cdf931543 ("selftests/bpf: add file dynptr tests") Reported-by: Shung-Hsi Yu <shung-hsi.yu@suse.com> Closes: https://lore.kernel.org/all/ah6g7JSYOWGp2oAG@u94a/ Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com> Tested-by: Ihor Solodrai <ihor.solodrai@linux.dev> Link: https://lore.kernel.org/r/20260603-file_reader_flake-v1-1-7f3f52d1e388@meta.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions