Linux Test Project
 help / color / mirror / Atom feed
From: Andrea Cervesato via ltp <ltp@lists.linux.it>
To: Pavithra <pavrampu@linux.ibm.com>
Cc: pavrampu@linux.ibm.com, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] Fix memcontrol02 test failure on powerpc.
Date: Wed, 06 May 2026 17:32:13 +0000	[thread overview]
Message-ID: <69fb7b1e.050a0220.3c60d8.cac3@mx.google.com> (raw)
In-Reply-To: <20260329113252.204926-1-pavrampu@linux.ibm.com>

Hi Pavithra,

> memcontrol02 test is failing on PowerPC with 50MB allocation. Increase to
> 100MB for both anonymous and page cache tests, and bump minimum
> device size from 300MB to 400MB accordingly.

can you please explain better what's the real issue? We need
a technical explaination of why this test is failing in PPC.

> 
> Signed-off-by: Pavithra <pavrampu@linux.ibm.com>
> ---
>  testcases/kernel/controllers/memcg/memcontrol02.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/testcases/kernel/controllers/memcg/memcontrol02.c b/testcases/kernel/controllers/memcg/memcontrol02.c
> index 0b79403c9..fcce82d68 100644
> --- a/testcases/kernel/controllers/memcg/memcontrol02.c
> +++ b/testcases/kernel/controllers/memcg/memcontrol02.c
> @@ -32,9 +32,9 @@ static struct tst_cg_group *cg_child;
>  static int fd;
>  static int file_to_all_error = 10;
>  
> -static void alloc_anon_50M_check(void)
> +static void alloc_anon_100M_check(void)

Also this function name is quite wrong. We are exposing internal
function implementation in the name itself. This needs to be
fixed with a name that is not exposing the quantity of MB we are
actually allocating, since it may change in the future.

Regards,
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com

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

      parent reply	other threads:[~2026-05-06 17:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-29 11:32 [LTP] [PATCH] Fix memcontrol02 test failure on powerpc Pavithra
2026-04-15 11:47 ` [LTP] " linuxtestproject.agent
2026-05-06 17:32 ` Andrea Cervesato via ltp [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=69fb7b1e.050a0220.3c60d8.cac3@mx.google.com \
    --to=ltp@lists.linux.it \
    --cc=andrea.cervesato@suse.com \
    --cc=pavrampu@linux.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox