[LTP] [PATCH v2] starvation.c: New case for sched starvation
Cyril Hrubis
chrubis@suse.cz
Thu Jul 13 10:58:29 CEST 2023
Hi!
> +static long loop = 10000000;
I've reduced the default number of loops to 2000000 since the test
runtime on small ARM board was quite close to the timeout. Given that
when the scheduller was broken the original reproducer haven't finished
after running for 40 times longer than on working kernel, 2000000 should
be enough to trip the timeout even on fairly fast machine.
Also added note to the test description that the test is expected to
timeout when scheduller is broken.
And pushed, thanks.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list