From: linuxtestproject.agent@gmail.com
To: Changwei Zou <changwei.zou@canonical.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] cpuset_memory_spread: count only the test file's page cache
Date: Fri, 4 Sep 2026 14:52:01 +0000 [thread overview]
Message-ID: <20260904145201.8776-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260904125031.89015-1-changwei.zou@canonical.com>
Hi Changwei,
On Sep 4, 2026, Changwei Zou wrote:
> cpuset_memory_spread: count only the test file's page cache
> + if (query_pages_node(n, pages + off, status + off) == -1) {
> + warn("move_pages failed");
> + goto out;
> + }
Medium: In Linux 7.3, move_pages() is built only when
CONFIG_NUMA_MIGRATION=y. With it disabled this returns ENOSYS, the helper
writes "0" to the FIFO, and every case reports TFAIL; require the config and
report missing syscall support as TCONF.
> + # the unexpected nodes must hold only a negligible fraction
> + if [ $((unexpected_sum * 100)) -ge $((total * UNEXPECTED_TOLERANCE)) ]; then
> + return 1
> + fi
Low: This rejects an unexpected share of exactly 5%, although the commit
message and comments say that "at most" 5% is allowed. Use -gt, or document
5% as an exclusive limit.
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
next prev parent reply other threads:[~2026-09-04 14:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 12:50 [LTP] [PATCH v2] cpuset_memory_spread: count only the test file's page cache Changwei Zou via ltp
2026-09-04 14:52 ` linuxtestproject.agent [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-09-05 1:51 [LTP] [PATCH v3] " Changwei Zou via ltp
2026-09-05 3:06 ` [LTP] " linuxtestproject.agent
2026-09-05 6:18 [LTP] [PATCH v4] " Changwei Zou via ltp
2026-09-05 8:07 ` [LTP] " linuxtestproject.agent
2026-09-05 10:19 [LTP] [PATCH v5] " Changwei Zou via ltp
2026-09-05 12:27 ` [LTP] " linuxtestproject.agent
2026-09-05 12:50 [LTP] [PATCH v6] " Changwei Zou via ltp
2026-09-05 15:50 ` [LTP] " linuxtestproject.agent
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=20260904145201.8776-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.