Linux Test Project
 help / color / mirror / Atom feed
From: Li Wang <li.wang@linux.dev>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: Linux Test Project <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH] memcg_stress: survive OOM by targeting the stressors
Date: Sat, 4 Jul 2026 17:15:48 +0800	[thread overview]
Message-ID: <akjPRHhWL6xSNF8u@linux.dev> (raw)
In-Reply-To: <6a48bb3c.bc1d6770.394c18.b078@mx.google.com>

Andrea Cervesato wrote:

> > What do you think about doing this in the shell lib so all shell
> > tests benefit, rather than only memcg_stress?
> 
> this patch was sent with a wrong assumption indeed. As you can see
> from the log, the OOM message is wrong and I pasted the wrong example :)

Ah, the memcg_stress test already done and kirk start a new
one memcg_control, that oom trigged by there.

> But this raised a good point that I think you spotted quite well. It
> would be nice to implement this indeed, since shell tests are often
> causing issues when it comes to containers or stressing the memory.

Sure, if the shell part encounters same situation, appropriate
measures should be taken.

> I will leave to @Petr the last word because he's more expert than me
> on the shell tests.

+1

-- 
Regards,
Li Wang

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

      reply	other threads:[~2026-07-04  9:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-03  8:23 [LTP] [PATCH] memcg_stress: survive OOM by targeting the stressors Andrea Cervesato
2026-07-03 10:01 ` [LTP] " linuxtestproject.agent
2026-07-04  7:31 ` [LTP] [PATCH] " Li Wang
2026-07-04  7:50   ` Andrea Cervesato via ltp
2026-07-04  9:15     ` Li Wang [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=akjPRHhWL6xSNF8u@linux.dev \
    --to=li.wang@linux.dev \
    --cc=andrea.cervesato@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox