Commit b5a646a6 authored by Michael Ellerman's avatar Michael Ellerman

selftests/powerpc: Run tm-tmspr test for longer

This test creates some threads, which write to TM SPRs, and then makes
sure the registers maintain the correct values across context switches
and contention with other threads.

But currently the test finishes almost instantaneously, which reduces
the chance of it hitting an interesting condition.

So increase the number of loops, so it runs a bit longer, though still
less than 2s on a Power8.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200813013445.686464-3-mpe@ellerman.id.au
parent 76962871
......@@ -33,7 +33,7 @@
#include "utils.h"
#include "tm.h"
int num_loops = 10000;
int num_loops = 1000000;
int passed = 1;
void tfiar_tfhar(void *in)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment