[LTP] [PATCH 1/2] syscalls/msgstress03: fix fork failure on small memory systems

Cyril Hrubis chrubis@suse.cz
Wed Jun 23 13:18:11 CEST 2021


Hi!
> > This is quite generic functionality so we may as well put it into the
> > include/tst_pid.h and lib/tst_pid.c as tst_get_pids_limit().
> 
> Sure, I can move it there.
> 
> > And we do already have tst_get_free_pids_() in there so we can substract
> > that as well if applicable to make it a bit more precise.
> 
> I can just merge the code into tst_get_free_pids_(). It's basically the
> same purpose - how many processes can we have more.

Yes actually that would make a lot of sense.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list