From: Petr Vorel <pvorel@suse.cz>
To: Leo Liang <ycliang@andestech.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/1] tst_pids.c: fix fork failure on small memory systems
Date: Thu, 9 Feb 2023 14:49:39 +0100 [thread overview]
Message-ID: <Y+T58w801imaclXo@pevik> (raw)
In-Reply-To: <Y+T2qzXrZcGK/EQt@ubuntu01>
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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2023-02-09 13:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 12:40 [LTP] [PATCH 1/1] tst_pids.c: fix fork failure on small memory systems Leo Yu-Chi Liang
2023-02-07 13:42 ` Petr Vorel
2023-02-07 16:33 ` Jan Stancek
2023-02-09 13:35 ` Leo Liang
2023-02-09 13:49 ` Petr Vorel [this message]
2023-02-09 13:05 ` Cyril Hrubis
2023-02-09 13:36 ` Leo Liang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y+T58w801imaclXo@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=ycliang@andestech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox