From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v5 2/3] controllers/cpuacct: skip cpuacct_100_100 on small memory systems
Date: Wed, 1 Sep 2021 20:14:48 +0200 [thread overview]
Message-ID: <YS/DGPyHmEHnRSZk@yuki> (raw)
In-Reply-To: <20210901151655.95760-2-krzysztof.kozlowski@canonical.com>
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
next prev parent reply other threads:[~2021-09-01 18:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-01 15:16 [LTP] [PATCH v5 1/3] lib: add tst_get_free_pids helper program Krzysztof Kozlowski
2021-09-01 15:16 ` [LTP] [PATCH v5 2/3] controllers/cpuacct: skip cpuacct_100_100 on small memory systems Krzysztof Kozlowski
2021-09-01 18:14 ` Cyril Hrubis [this message]
2021-09-01 18:38 ` Petr Vorel
2021-09-02 8:06 ` Krzysztof Kozlowski
2021-09-02 12:02 ` Cyril Hrubis
2021-09-01 15:16 ` [LTP] [PATCH v5 3/3] controllers/cpuacct: fix rmdir failures on early test abort Krzysztof Kozlowski
2021-09-02 8:18 ` Petr Vorel
2021-09-02 8:24 ` Krzysztof Kozlowski
2021-09-02 16:00 ` Petr Vorel
2021-09-01 18:26 ` [LTP] [PATCH v5 1/3] lib: add tst_get_free_pids helper program Petr Vorel
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=YS/DGPyHmEHnRSZk@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