]> 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)
commitafc455d5f34ceacf8ed1f21debac61f6df6f9d7b
tree57ffe5074f8f389437e8ea468731b0b3f2e599e1
parent36949ef1f8f9810ba52586ded73aed3abf0cfd60
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