]> git.baikalelectronics.ru Git - kernel.git/commit
Improve stability of find_vma BPF test
authorMykola Lysenko <mykolal@fb.com>
Tue, 8 Mar 2022 20:04:49 +0000 (12:04 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 9 Mar 2022 01:39:29 +0000 (17:39 -0800)
commit26229a82c4a7f9745ec5323ac83531a124c1d5c3
tree57ffe5074f8f389437e8ea468731b0b3f2e599e1
parent510c3c67aad8cd12f0dc7426d5dec13869113233
Improve stability of find_vma BPF test

Remove unneeded spleep and increase length of dummy CPU
intensive computation to guarantee test process execution.
Also, complete aforemention computation as soon as
test success criteria is met

Signed-off-by: Mykola Lysenko <mykolal@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220308200449.1757478-4-mykolal@fb.com
tools/testing/selftests/bpf/prog_tests/find_vma.c