From: linuxtestproject.agent@gmail.com
To: Pavithra <pavrampu@linux.ibm.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] hugemmap/hugemmap41: Migrate ptrace-write-hugepage from libhugetlbfs
Date: Sat, 8 Aug 2026 17:33:21 +0000 [thread overview]
Message-ID: <20260808173321.9129-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260808170245.1548019-1-pavrampu@linux.ibm.com>
Hi Pavithra,
On Sat, Aug 8, 2026, Pavithra wrote:
> hugemmap/hugemmap41: Migrate ptrace-write-hugepage from libhugetlbfs
> +/hugetlb/hugemmap/hugemmap41
Could this entry be placed in
testcases/kernel/mem/hugetlb/hugemmap/.gitignore as /hugemmap41 instead?
New test binaries should be ignored in their leaf test directory rather
than extending the legacy testcases/kernel/mem/.gitignore list.
> + p = SAFE_MMAP(NULL, hpage_size, PROT_READ|PROT_WRITE, MAP_SHARED,
Could spaces be added around the "|" operator? make check-hugemmap41
reports this line as a kernel style violation.
> + TST_EXP_EQ_LU((unsigned long)TST_RET, CONST);
> +}
> +
> +static void run_test(void)
> +{
> [...]
> + do_poke(cpid, p);
> + do_poke(cpid, p + getpagesize());
> [...]
> + tst_res(TPASS, "ptrace write to hugepage succeeded");
Could the unconditional TPASS be removed? If either equality check reports
a mismatch, this line still claims that the operation succeeded. The two
TST_EXP_EQ_LU() calls already report their own pass results.
> + .tags = (struct tst_tag[]) {
> + {"linux-git", "ebed4bfc8da8"},
> + {}
> + },
Which ptrace regression is this tag intended to identify? ebed4bfc8da8 is
"hugetlb: fix absurd HugePages_Rsvd", which fixes reservation accounting
after truncating a mapped hugetlbfs file. This test neither truncates the
file nor checks HugePages_Rsvd, so a failure would print an unrelated
missing-fix hint.
Could the tag be removed, or replaced with the full 40-character hash of
the actual ptrace/hugetlb fix?
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-08-08 17:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-08 17:02 [LTP] [PATCH v6] hugemmap/hugemmap41: Migrate ptrace-write-hugepage from libhugetlbfs Pavithra
2026-08-08 17:33 ` linuxtestproject.agent [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-08-09 18:50 [LTP] [PATCH v8] " Pavithra
2026-08-09 19:37 ` [LTP] " linuxtestproject.agent
2026-08-09 17:16 [LTP] [PATCH] " Pavithra
2026-08-09 17:33 ` [LTP] " linuxtestproject.agent
2026-08-08 15:02 [LTP] [PATCH v5] " Pavithra
2026-08-08 15:30 ` [LTP] " linuxtestproject.agent
2026-07-17 18:05 [LTP] [PATCH] " Pavithra
2026-07-17 19:13 ` [LTP] " linuxtestproject.agent
2026-08-04 12:25 ` Cyril Hrubis
2026-08-04 12:28 ` Andrea Cervesato via ltp
2026-07-17 11:02 [LTP] [PATCH] " Pavithra
2026-07-17 11:28 ` [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=20260808173321.9129-1-linuxtestproject.agent@gmail.com \
--to=linuxtestproject.agent@gmail.com \
--cc=ltp@lists.linux.it \
--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