* + selftests-mm-fix-uffdio_api-usage-with-proper-two-step-feature-negotiation-v3.patch added to mm-new branch
@ 2025-06-25 21:31 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-06-25 21:31 UTC (permalink / raw)
To: mm-commits, shuah, ryan.roberts, peterx, nadav.amit, keith.lucas,
joey.gouly, hannes, david, dave.hansen, catalin.marinas,
bagasdotme, aruna.ramakrishna, liwang, akpm
The patch titled
Subject: selftests/mm: Fix UFFDIO_API usage with proper two-step feature negotiation
has been added to the -mm mm-new branch. Its filename is
selftests-mm-fix-uffdio_api-usage-with-proper-two-step-feature-negotiation-v3.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/selftests-mm-fix-uffdio_api-usage-with-proper-two-step-feature-negotiation-v3.patch
This patch will later appear in the mm-new branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Note, mm-new is a provisional staging ground for work-in-progress
patches, and acceptance into mm-new is a notification for others take
notice and to finish up reviews. Please do not hesitate to respond to
review feedback and post updated versions to replace or incrementally
fixup patches in mm-new.
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Li Wang <liwang@redhat.com>
Subject: selftests/mm: Fix UFFDIO_API usage with proper two-step feature negotiation
Date: Wed, 25 Jun 2025 08:46:45 +0800
fail the test if sys_userfaultfd() fails
Link: https://lkml.kernel.org/r/20250625004645.400520-1-liwang@redhat.com
Signed-off-by: Li Wang <liwang@redhat.com>
Suggested-by: David Hildenbrand <david@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Cc: Aruna Ramakrishna <aruna.ramakrishna@oracle.com>
Cc: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Joey Gouly <joey.gouly@arm.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Keith Lucas <keith.lucas@oracle.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
tools/testing/selftests/mm/ksm_functional_tests.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/tools/testing/selftests/mm/ksm_functional_tests.c~selftests-mm-fix-uffdio_api-usage-with-proper-two-step-feature-negotiation-v3
+++ a/tools/testing/selftests/mm/ksm_functional_tests.c
@@ -415,7 +415,7 @@ static void test_unmerge_uffd_wp(void)
close(uffd);
uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK);
if (uffd < 0) {
- ksft_test_result_skip("__NR_userfaultfd failed\n");
+ ksft_test_result_fail("__NR_userfaultfd failed\n");
goto unmap;
}
_
Patches currently in -mm which might be from liwang@redhat.com are
selftests-mm-fix-uffdio_api-usage-with-proper-two-step-feature-negotiation.patch
selftests-mm-fix-uffdio_api-usage-with-proper-two-step-feature-negotiation-v3.patch
ksm_tests-skip-hugepage-test-when-transparent-hugepages-are-disabled.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-25 21:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25 21:31 + selftests-mm-fix-uffdio_api-usage-with-proper-two-step-feature-negotiation-v3.patch added to mm-new branch Andrew Morton
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.