All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Wang <li.wang@linux.dev>
To: Wei Gao <wegao@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] mmapstress06: Convert to new API
Date: Fri, 5 Jun 2026 15:11:21 +0800	[thread overview]
Message-ID: <aiJ0Yw8S0pCnSoqw@linux.dev> (raw)
In-Reply-To: <20260605052814.4342-1-linuxtestproject.agent@gmail.com>

Hi Wei,

The refactoring generally looks good, but have minor issues:

1. We can remove the strict requirement for Cgroup V2.

2. Check gloabl RAM size, in Cgroup v2, memory.max limits
   physical RAM usage. If the system only has 256MB of
   physical RAM, the process can never reach the 500MB
   memory.max limit.

3. Set mem_limit/map_size to small values e.g. 128MB/256MB
   to make the test widely run.

-- 
Regards,
Li Wang

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

  reply	other threads:[~2026-06-05  7:11 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-27 11:59 [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap space Wei Gao via ltp
2026-04-27 12:26 ` Li Wang
2026-04-27 13:57   ` Wei Gao via ltp
2026-04-28  1:39     ` Li Wang
2026-04-27 13:57 ` [LTP] " linuxtestproject.agent
2026-04-28 11:52 ` [LTP] [PATCH v1] " Andrea Cervesato via ltp
2026-04-28 12:58 ` Petr Vorel
2026-04-28 16:34   ` Petr Vorel
2026-04-29  2:22     ` Wei Gao via ltp
2026-04-29  6:10       ` Petr Vorel
2026-04-30  8:01       ` Li Wang
2026-06-05  4:29 ` [LTP] [PATCH v2] mmapstress06: Convert to new API Wei Gao via ltp
2026-06-05  5:28   ` [LTP] " linuxtestproject.agent
2026-06-05  7:11     ` Li Wang [this message]
2026-06-05  7:17   ` [LTP] [PATCH v2] " Andrea Cervesato via ltp
2026-06-05  9:35     ` Wei Gao via ltp
2026-06-05  9:42       ` Andrea Cervesato via ltp
2026-06-05 10:02         ` Wei Gao via ltp
2026-06-06 10:08   ` [LTP] [PATCH v3] " Wei Gao via ltp
2026-06-06 11:32     ` [LTP] " linuxtestproject.agent
2026-06-07  4:52     ` [LTP] [PATCH v4] " Wei Gao via ltp
2026-06-07  8:02       ` [LTP] " linuxtestproject.agent
2026-06-08  2:52       ` [LTP] [PATCH v5] " Wei Gao via ltp
2026-06-08  4:51         ` [LTP] " linuxtestproject.agent
2026-06-10  2:26         ` [LTP] [PATCH v5] " Li Wang

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=aiJ0Yw8S0pCnSoqw@linux.dev \
    --to=li.wang@linux.dev \
    --cc=ltp@lists.linux.it \
    --cc=wegao@suse.com \
    /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.