[LTP] [PATCH 1/1] tst_pids.c: fix fork failure on small memory systems
Petr Vorel
pvorel@suse.cz
Thu Feb 9 14:49:39 CET 2023
Hi all,
Thanks Leo, I merged it with MIN(max_pids, max_threads), thanks Cyril for
catching it.
> > BTW IMHO it'd be better to rewrite
> > f = popen("ps -eT | wc -l", "r");
> > to list count of /proc/[0-9]*/ in plain C (TODO for us).
> Thanks for the review!
> I could send a v2 to add this as well.
Thank you, if you have time to send another patch to fix.
Kind regards,
Petr
> Best regards,
> Leo
More information about the ltp
mailing list