public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 1/2] syscalls/msgstress03: fix fork failure on small memory systems
Date: Wed, 23 Jun 2021 13:18:11 +0200	[thread overview]
Message-ID: <YNMYc6EiyQrvl7Ss@yuki> (raw)
In-Reply-To: <7e086a3e-afd5-7b54-e04f-2db7893f3778@canonical.com>

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

      reply	other threads:[~2021-06-23 11:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22 11:14 [LTP] [PATCH 1/2] syscalls/msgstress03: fix fork failure on small memory systems Krzysztof Kozlowski
2021-06-22 11:14 ` [LTP] [PATCH 2/2] syscalls/msgstress04: " Krzysztof Kozlowski
2021-06-23  9:28 ` [LTP] [PATCH 1/2] syscalls/msgstress03: " xuyang2018.jy
2021-06-23  9:39   ` Krzysztof Kozlowski
2021-06-23 10:36 ` Cyril Hrubis
2021-06-23 11:27   ` Krzysztof Kozlowski
2021-06-23 11:18     ` Cyril Hrubis [this message]

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=YNMYc6EiyQrvl7Ss@yuki \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /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