On 06.06.25 03:04, Andrew Morton wrote:
On Thu, 05 Jun 2025 22:34:31 +0100 Mark Brown <broo...@kernel.org> wrote:

Unlike the other cases gup_longterm's memfd tests previously skipped the
test when failing to set up the file descriptor to test, restore this
behaviour.

Signed-off-by: Mark Brown <broo...@kernel.org>

I added a bunch of stuff to this.  Please check?


From: Mark Brown <broo...@kernel.org>
Subject: selftests/mm: skip failed memfd setups in gup_longterm
Date: Thu, 05 Jun 2025 22:34:31 +0100

Unlike the other cases gup_longterm's memfd tests previously skipped the
test when failing to set up the file descriptor to test.  Restore this
behavior to avoid hitting failures when hugetlb isn't configured.

Link: 
https://lkml.kernel.org/r/20250605-selftest-mm-gup-longterm-tweaks-v1-1-2fae34b05...@kernel.org
Fies: 66bce7afbaca ("selftests/mm: fix test result reporting in gup_longterm")

"Fixes:"

Signed-off-by: Mark Brown <broo...@kernel.org>
Reported-by: Lorenzo Stoakes <lorenzo.stoa...@oracle.com>
Closes: 
https://lkml.kernel.org/r/a76fc252-0fe3-4d4b-a9a1-4a2895c2680d@lucifer.local
Cc: David Hildenbrand <da...@redhat.com>
Cc: Shuah Khan <sh...@kernel.org>


Acked-by: David Hildenbrand <da...@redhat.com>

--
Cheers,

David / dhildenb


Reply via email to