diff options
| author | 2025-10-08 18:26:27 +0800 | |
|---|---|---|
| committer | 2025-10-10 10:10:08 -0700 | |
| commit | accb9a7e87f096a12eb21256107b9c8e343f8019 (patch) | |
| tree | 9fd6319c9b396ef35ecac148ed69701ee584192f /rust/helpers/helpers.c | |
| parent | bpf: Avoid RCU context warning when unpinning htab with internal structs (diff) | |
| download | linux-rng-accb9a7e87f096a12eb21256107b9c8e343f8019.tar.xz linux-rng-accb9a7e87f096a12eb21256107b9c8e343f8019.zip | |
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/helpers.c')
0 files changed, 0 insertions, 0 deletions
