Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/powerpc: Run fpu_preempt test for 60 seconds

The FPU preempt test only runs for 20 seconds, which is not particularly
long. Run it for 60 seconds to increase the chance of detecting
corruption.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231128132748.1990179-4-mpe@ellerman.id.au

+1 -1
+1 -1
tools/testing/selftests/powerpc/math/fpu_preempt.c
··· 22 22 #include "fpu.h" 23 23 24 24 /* Time to wait for workers to get preempted (seconds) */ 25 - #define PREEMPT_TIME 20 25 + #define PREEMPT_TIME 60 26 26 /* 27 27 * Factor by which to multiply number of online CPUs for total number of 28 28 * worker threads