diff options
| author | Gregory Bell <grbell@redhat.com> | 2026-02-17 09:32:36 -0500 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-02-19 11:29:41 -0800 |
| commit | d820fa3114825c43a6a2f3d66d3d1029db811fe3 (patch) | |
| tree | e855cdbe71135fda24f4e48c659698e282788171 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | b0a67f310bfa5e13d66c9f6b4bd88ea504a576a9 (diff) | |
selftests/bpf: fix flaky build_id test
The build_id selftest occasionally fails because MADV_PAGEOUT
does not guarantee the immediate eviction of the page. The test
assumes eviction happens and proceeds without verifying
that the page was actually reclaimed, leading to false test
failures.
Fix the test by retrying the page-out sequence until eviction
is successful, instead of relying on a single MADV_PAGEOUT attempt.
Signed-off-by: Gregory Bell <grbell@redhat.com>
Link: https://lore.kernel.org/r/038bd27c69dd3a16958894fcb19e4fb6fbfe317e.1771338492.git.grbell@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
