kselftest/arm64: Allow epoll_wait() to return more than one result
authorMark Brown <broonie@kernel.org>
Tue, 29 Nov 2022 21:59:25 +0000 (21:59 +0000)
committerWill Deacon <will@kernel.org>
Thu, 1 Dec 2022 17:46:45 +0000 (17:46 +0000)
commitc4e8720f2eb0c7f59082f41ad73b82e5d3f19f69
treef015b87257dcad01491e2b7d168f2f0f1087f0d7
parent92145d88ce0b216c1b99aaac92fec1f6a7d6ddde
kselftest/arm64: Allow epoll_wait() to return more than one result

When everything is starting up we are likely to have a lot of child
processes producing output at once.  This means that we can reduce
overhead a bit by allowing epoll_wait() to return more than one
descriptor at once, it cuts down on the number of system calls we need
to do which on virtual platforms where the syscall overhead is a bit
more noticable and we're likely to have a lot more children active can
make a small but noticable difference.

On physical platforms the relatively small number of processes being run
and vastly improved speeds push the effects of this change into the
noise.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221129215926.442895-4-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/fp/fp-stress.c