diff options
author | KaFai Wan <kafai.wan@linux.dev> | 2025-10-08 18:26:27 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-10-10 10:10:08 -0700 |
commit | accb9a7e87f096a12eb21256107b9c8e343f8019 (patch) | |
tree | 9fd6319c9b396ef35ecac148ed69701ee584192f /rust/helpers/mutex.c | |
parent | 4f375ade6aa9f37fd72d7a78682f639772089eed (diff) |
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 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions