From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] Taunt OOM killer in fork12 setup()
Date: Fri, 7 Feb 2020 09:56:10 -0500 (EST) [thread overview]
Message-ID: <1149510045.6536246.1581087370399.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20200207145403.23193-1-mdoucha@suse.cz>
----- Original Message -----
> On a system with low memory, fork12 can trigger OOM killer before it hits
> any fork() limits. The OOM killer might accidentally kill e.g. the parent
> shell and external testing tools will assume the test failed.
>
> Set high oom_score_adj on the children of the main fork12 process so that
> the OOM killer focuses on them.
>
> Signed-off-by: Martin Doucha <mdoucha@suse.cz>
Acked-by: Jan Stancek <jstancek@redhat.com>
next prev parent reply other threads:[~2020-02-07 14:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-30 16:13 [LTP] [PATCH] Taunt OOM killer in fork12 setup() Martin Doucha
2020-01-31 9:14 ` Li Wang
2020-01-31 9:37 ` Jan Stancek
2020-01-31 9:47 ` Li Wang
2020-01-31 12:40 ` Martin Doucha
2020-01-31 14:20 ` Li Wang
2020-02-07 14:54 ` [LTP] [PATCH v2] " Martin Doucha
2020-02-07 14:56 ` Jan Stancek [this message]
2020-02-07 16:06 ` Cyril Hrubis
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=1149510045.6536246.1581087370399.JavaMail.zimbra@redhat.com \
--to=jstancek@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.