tools-testing-vma-test-that-legacy-flag-helpers-work-correctly.patch removed from -mm tree
The quilt patch titled
Subject: tools/testing/vma: test that legacy flag helpers work correctly
has been removed from the -mm tree. Its filename was
tools-testing-vma-test-that-legacy-flag-helpers-work-correctly.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Lorenzo Stoakes (Oracle)" <[email protected]>
Subject: tools/testing/vma: test that legacy flag helpers work correctly
Date: Fri, 20 Mar 2026 19:38:29 +0000
Update the existing compare_legacy_flags() predicate function to assert that legacy_to_vma_flags() and vma_flags_to_legacy() behave as expected.
---
tools/testing/vma/tests/vma.c | 6 ++++++ 1 file changed, 6 insertions(+)
tools/testing/vma/tests/vma.c renamed from tools/testing/vma/tests/vma.c~tools-testing-vma-test-that-legacy-flag-helpers-work-correctly +6 -0
@@ -5,6 +5,7 @@ static bool compare_legacy_flags(vm_flagconst unsigned long legacy_val = legacy_flags;/* The lower word should contain the precise same value. */ const unsigned long flags_lower = flags.__vma_flags[0 ]; +vma_flags_t converted_flags;#if NUM_VMA_FLAG_BITS >BITS_PER_LONG int i;
@@ -17,6 +18,11 @@ static bool compare_legacy_flags(vm_flagstatic_assert (sizeof (legacy_flags) ==sizeof (unsigned long )); +/* Assert that legacy flag helpers work correctly. */ + converted_flags =legacy_to_vma_flags (legacy_flags); +ASSERT_FLAGS_SAME_MASK (&converted_flags, flags); +ASSERT_EQ (vma_flags_to_legacy (flags), legacy_flags); +return legacy_val == flags_lower; }
_
Patches currently in -mm which might be from [email protected] are
maintainers-update-mglru-entry-to-reflect-current-status.patch selftests-mm-add-merge-test-for-partial-msealed-range.patch