]> git.baikalelectronics.ru Git - kernel.git/commit
kselftest/arm64: Don't repeat termination handler for fp-stress
authorMark Brown <broonie@kernel.org>
Wed, 21 Sep 2022 18:13:43 +0000 (19:13 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 29 Sep 2022 17:12:37 +0000 (18:12 +0100)
commit4dd70afddec7b8a07034f337b24b136ac0f5ef90
tree7fb57cebbb7c531920eabe002643c37ca93ad10e
parent2877f36401853df43fe633328faac9f8ef25beba
kselftest/arm64: Don't repeat termination handler for fp-stress

When fp-stress gets a termination signal it sets a flag telling itself to
exit and sends a termination signal to all the children. If the flag is set
then don't bother repeating this process, it isn't going to accomplish
anything other than consume CPU time which can be an issue when running in
emulation.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220921181345.618085-2-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/fp-stress.c