From: Tianyi Chen <diannaaav@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>,
David Hildenbrand <david@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>,
linux-mm@kvack.org, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org, Joel Savitz <jsavitz@redhat.com>
Subject: [PATCH v3 RESEND 0/2] selftests/mm: Validate selections and scope memfd_secret setup
Date: Thu, 10 Sep 2026 20:56:43 +0800 [thread overview]
Message-ID: <20260910125645.285866-1-diannaaav@gmail.com> (raw)
run_vmtests.sh can reach test setup after invalid options or category
selections. Its memfd_secret preparation can also change ptrace_scope
when that category was not selected.
Patch 1 rejects invalid selections before setup. Patch 2 gates
memfd_secret preparation on category selection and executable presence.
The patches and commit messages are unchanged from v3. This resend uses
git send-email through Gmail's SMTP server to send the patches inline.
Before resending, I sent them to my SpaceMail mailbox and verified the
received contents and whitespace. Both patches passed git apply --check
and git am, and the resulting trees matched the original commits.
David, this is my first time setting up Gmail SMTP for patch submission.
I'm very sorry for the formatting problems I caused and for taking up
so much of your time. Thank you for your patience.
Changes in v3:
- Initialize VM_SELFTEST_ITEMS to "default" before getopts, as David
suggested. Only -t changes the selection.
- Use Assisted-by: LLM in both patches.
- Carry David's Acked-by on patch 2, unchanged from v2.
Tianyi Chen (2):
selftests/mm: Reject invalid test selections before running tests
selftests/mm: Only prepare ptrace_scope when memfd_secret is selected
tools/testing/selftests/mm/run_vmtests.sh | 28 +++++++++++++++++++----
1 file changed, 23 insertions(+), 5 deletions(-)
--
2.55.0
next reply other threads:[~2026-09-10 12:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-10 12:56 Tianyi Chen [this message]
2026-09-10 12:56 ` [PATCH v3 RESEND 1/2] selftests/mm: Reject invalid test selections before running tests Tianyi Chen
2026-09-10 12:56 ` [PATCH v3 RESEND 2/2] selftests/mm: Only prepare ptrace_scope when memfd_secret is selected Tianyi Chen
-- strict thread matches above, loose matches on Subject: below --
2026-09-09 14:54 [PATCH v3 RESEND 0/2] selftests/mm: Validate selections and scope memfd_secret setup Tianyi Chen
2026-09-09 14:54 ` Tianyi Chen
2026-09-09 15:02 ` David Hildenbrand (Arm)
2026-09-09 15:04 ` David Hildenbrand (Arm)
2026-09-09 15:25 ` Tianyi Chen
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=20260910125645.285866-1-diannaaav@gmail.com \
--to=diannaaav@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=david@kernel.org \
--cc=jsavitz@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=shuah@kernel.org \
/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
all inboxes | Powered by JetHome®