Re: [PATCH v3 RESEND 0/2] selftests/mm: Validate selections and scope memfd_secret setup

From: David Hildenbrand (Arm)

Date: Wed Sep 09 2026 - 14:15:15 EST


On 9/9/26 17:02, David Hildenbrand (Arm) wrote:
> On 9/9/26 16:54, Tianyi Chen wrote:
>> Hi David,
>>
>> Following up on your review:
>> https://lore.kernel.org/r/d6ca7f47-39bb-43b4-92d6-63ccc148ebdd@xxxxxxxxxx
>>
>>> Who would set it at this point?
>>> Can't this just be
>>> VM_SELFTEST_ITEMS="default"
>>
>> V3 makes that change: the default is initialized before getopts, and only
>> -t changes the selection. An explicit empty -t still fails validation.
>> Both patches use Assisted-by: LLM, and patch 2 carries your Acked-by.
>>
>> I have resent v3 at the start of this new thread from my Gmail address
>> after delivery problems with my previous address. The patches are rebased
>> onto current mm-unstable without changes, and the focused parser and VM
>> selection tests passed again.
>
> That is new:
>
> $ b4 shazam https://lore.kernel.org/r/CACGbirR9PNt4uhqJFATsOWnwmsNb-v8zau-Rb+9Q5SZmY-=Vug@xxxxxxxxxxxxxx
> Looking up https://lore.kernel.org/all/CACGbirR9PNt4uhqJFATsOWnwmsNb-v8zau-Rb%2B9Q5SZmY-%3DVug@xxxxxxxxxxxxxx/
> Grabbing thread from lore.kernel.org/all/CACGbirR9PNt4uhqJFATsOWnwmsNb-v8zau-Rb%2B9Q5SZmY-%3DVug@xxxxxxxxxxxxxx/t.mbox.gz
> Checking for newer revisions
> Grabbing search results from lore.kernel.org
> Analyzing 4 messages in the thread
> Analyzing 14 code-review messages
> Checking attestation on all messages, may take a moment...
> ---
> ✓ [PATCH v3 1/2] selftests/mm: Reject invalid test selections before running tests
> ✓ [PATCH v3 2/2] selftests/mm: Only prepare ptrace_scope when memfd_secret is selected
> ---
> ✓ Signed: DKIM/gmail.com
> ---
> Total patches: 2
> ---
> Applying: selftests/mm: Reject invalid test selections before running tests
> Patch failed at 0001 selftests/mm: Reject invalid test selections before running tests
> error: git diff header lacks filename information when removing 1 leading pathname component at /home/dishy/linux/.git/rebase-apply/patch:6
>
>

I think what's happening is that something in your mail sending path wraps long
lines and breaks the patch format.

--
Cheers,

David