All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Richard Palethorpe <rpalethorpe@suse.de>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v1] Refactor fork12 using new LTP API
Date: Tue, 31 Oct 2023 17:00:04 +0100	[thread overview]
Message-ID: <ZUEkhFYIJogalhpq@yuki> (raw)
In-Reply-To: <87zfzzrvbc.fsf@suse.de>

Hi!
> This test also randomly fails outside of a container. Also other tests
> that are testing the limits. This makes me think more that setting lower
> prlimits is needed. Also this rewrite gets higher priority.

Just note that this test is not in syscalls runtest file but in the
crashme runtest file, which contains highly questionable stuff.

I guess that the original test does not really take things like
overcommit and OMM into an account, so shifting the test goals by
setting the RLIMIT_NPROC so that we effectively check that the
limits are enforced is probably reasonable way how to fix the test.
Either we do that or we remove fork12.c.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2023-10-31 15:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-06  8:09 [LTP] [PATCH v1] Refactor fork12 using new LTP API Andrea Cervesato
2023-10-06 10:14 ` Richard Palethorpe
2023-10-31  9:30   ` Richard Palethorpe
2023-10-31 16:00     ` Cyril Hrubis [this message]
2023-11-01  8:11       ` Richard Palethorpe
2023-11-02 13:31         ` Andrea Cervesato via ltp

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