diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-01-31 15:40:12 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-02-01 20:55:39 +0100 |
commit | ba72a7b4badbf4dd3c49c585c3c662bacc54f46e (patch) | |
tree | d3aad6752b52bfe5dd7bbf1d11c40d0bbdfc44ab /.gitattributes | |
parent | libbpf: introduce bpf_map_lookup_elem_flags() (diff) | |
download | linux-dev-ba72a7b4badbf4dd3c49c585c3c662bacc54f46e.tar.xz linux-dev-ba72a7b4badbf4dd3c49c585c3c662bacc54f46e.zip |
selftests/bpf: test for BPF_F_LOCK
Add C based test that runs 4 bpf programs in parallel
that update the same hash and array maps.
And another 2 threads that read from these two maps
via lookup(key, value, BPF_F_LOCK) api
to make sure the user space sees consistent value in both
hash and array elements while user space races with kernel bpf progs.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions