]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
selftests/bpf: speedup test_maps
authorAlexei Starovoitov <ast@kernel.org>
Tue, 23 Jan 2018 01:46:57 +0000 (17:46 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 23 Jan 2018 17:28:03 +0000 (18:28 +0100)
commit1a97cf1fe50340c5e758d7a74419d8f6e8b49ace
tree52f2e7bd300f04190a571c7d3cfd39ea757fac12
parent35136920e100b85b15b2cfd1505453ba5b6c757f
selftests/bpf: speedup test_maps

test_hashmap_walk takes very long time on debug kernel with kasan on.
Reduce the number of iterations in this test without sacrificing
test coverage.
Also add printfs as progress indicator.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_maps.c