From: linuxtestproject.agent@gmail.com
To: Changwei Zou <changwei.zou@canonical.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] cpuset_memory_spread: make result_check() robust to page-cache noise
Date: Fri, 4 Sep 2026 05:34:26 +0000 [thread overview]
Message-ID: <20260904053426.4117-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260904031352.40237-1-changwei.zou@canonical.com>
Hi Changwei,
On Fri, Sep 4, 2026, Changwei Zou wrote:
> cpuset_memory_spread: make result_check() robust to page-cache noise
> + # when min_upper / max_lower (floating) is not less than
> + # upperlimit / lowerlimit, the test passes.
> + if awk -v mu="$min_upper" -v xl="$max_lower" \
> + -v ul="$upperlimit" -v ll="$lowerlimit" \
> + 'BEGIN {
> + if (xl == 0) { exit !(mu > 0) }
> + exit !((mu / xl) >= (ul / ll))
> + }'; then
This ratio can accept genuine unexpected-node allocations when unrelated
activity inflates an expected node. With 4 KiB pages, 500000/100000 passes;
with 64 KiB pages, even 20000/60000 passes because 10000/32768 is below one.
Retain an absolute cap for max_lower or isolate the test file's cache pages.
Verdict - Needs revision
---
Note:
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2026-09-04 5:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 3:13 [LTP] [PATCH v1] cpuset_memory_spread: make result_check() robust to page-cache noise Changwei Zou via ltp
2026-09-04 5:34 ` linuxtestproject.agent [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=20260904053426.4117-1-linuxtestproject.agent@gmail.com \
--to=linuxtestproject.agent@gmail.com \
--cc=changwei.zou@canonical.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.