diff options
| author | KaFai Wan <kafai.wan@linux.dev> | 2025-10-08 13:26:27 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-10-10 20:10:08 +0300 |
| commit | accb9a7e87f096a12eb21256107b9c8e343f8019 (patch) | |
| tree | 9fd6319c9b396ef35ecac148ed69701ee584192f /tools/perf/scripts/python/futex-contention.py | |
| parent | 4f375ade6aa9f37fd72d7a78682f639772089eed (diff) | |
| download | linux-accb9a7e87f096a12eb21256107b9c8e343f8019.tar.xz | |
selftests/bpf: Add test for unpinning htab with internal timer struct
Add test to verify that unpinning hash tables containing internal timer
structures does not trigger context warnings.
Each subtest (timer_prealloc and timer_no_prealloc) can trigger the
context warning when unpinning, but the warning cannot be triggered
twice within a short time interval (a HZ), which is expected behavior.
Signed-off-by: KaFai Wan <kafai.wan@linux.dev>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20251008102628.808045-3-kafai.wan@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
