[LTP] [PATCH v5 2/3] controllers/cpuacct: skip cpuacct_100_100 on small memory systems

Cyril Hrubis chrubis@suse.cz
Wed Sep 1 20:14:48 CEST 2021


Hi!
> +check_limits()
> +{
> +	local tasksneeded=$((max * nbprocess + 100))

We allready have some reserve for the system in the tst_get_free_pids()
so shouldn't this be just max * nbprocess ?


-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list