selftests/powerpc: Run fpu_preempt test for 60 seconds
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 28 Nov 2023 13:27:47 +0000 (00:27 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Dec 2023 02:29:09 +0000 (13:29 +1100)
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
tools/testing/selftests/powerpc/math/fpu_preempt.c

index 97dff36..9ddede0 100644 (file)
@@ -22,7 +22,7 @@
 #include "fpu.h"
 
 /* Time to wait for workers to get preempted (seconds) */
-#define PREEMPT_TIME 20
+#define PREEMPT_TIME 60
 /*
  * Factor by which to multiply number of online CPUs for total number of
  * worker threads