diff options
author | Alexei Starovoitov <ast@kernel.org> | 2021-07-15 02:54:16 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-07-15 22:31:11 +0200 |
commit | 3540f7c6b96a62b581da5aa3d4c5af9408927bef (patch) | |
tree | 771b22cf946ec9d17b6d2fbdcb0f166995ba9283 /MAINTAINERS | |
parent | bpf: Teach stack depth check about async callbacks. (diff) | |
download | linux-3540f7c6b96a62b581da5aa3d4c5af9408927bef.tar.xz linux-3540f7c6b96a62b581da5aa3d4c5af9408927bef.zip |
selftests/bpf: Add bpf_timer test.
Add bpf_timer test that creates timers in preallocated and
non-preallocated hash, in array and in lru maps.
Let array timer expire once and then re-arm it for 35 seconds.
Arm lru timer into the same callback.
Then arm and re-arm hash timers 10 times each.
At the last invocation of prealloc hash timer cancel the array timer.
Force timer free via LRU eviction and direct bpf_map_delete_elem.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20210715005417.78572-11-alexei.starovoitov@gmail.com
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions