[LTP] [PATCH 2/2] starvation: skip test on slow kernel
Petr Vorel
pvorel@suse.cz
Thu Jan 2 13:56:53 CET 2025
Hi Li,
> Systems with slow kernel configurations may not meet
> the performance requirements necessary for the starvation
> test to produce valid results.
> Skipping the test ensures that it runs only on systems
> where its results are meaningful.
...
> + if (tst_has_slow_kconfig())
> + tst_brk(TCONF, "Skip test due to slow kernel configuration");
> +
Reviewed-by: Petr Vorel <pvorel@suse.cz>
I suppose you have strong reason for this (e.g. it's failing on some slow
machine). I'm testing it on emulated riscv64 to see whether it's needed to be
skipped. Because due CONFIG_LATENCYTOP it will always be skipped on Tumbleweed.
Kind regards,
Petr
More information about the ltp
mailing list