mm-vma-add-further-vma_flags_t-unions.patch removed from -mm tree
The quilt patch titled
Subject: mm/vma: add further vma_flags_t unions
has been removed from the -mm tree. Its filename was
mm-vma-add-further-vma_flags_t-unions.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: mm/vma: add further vma_flags_t unions
Date: Fri, 20 Mar 2026 19:38:20 +0000
In order to utilise the new vma_flags_t type, we currently place it in union with legacy vm_flags fields of type vm_flags_t to make the transition smoother.
Add vma_flags_t union entries for mm->def_flags and vmg->vm_flags - mm->def_vma_flags and vmg->vma_flags respectively.
Once the conversion is complete, these will be replaced with vma_flags_t entries alone.
Also update the VMA tests to reflect the change.
---
include/linux/mm_types.h | 6 +++++- mm/vma.h | 6 +++++- tools/testing/vma/include/dup.h | 5 ++++- 3 files changed, 14 insertions(+), 3 deletions(-)
include/linux/mm_types.h renamed from include/linux/mm_types.h~mm-vma-add-further-vma_flags_t-unions +5 -1
@@ -1249,7 +1249,11 @@ struct mm_struct {unsigned long data_vm;/* VM_WRITE & ~VM_SHARED & ~VM_STACK */ unsigned long exec_vm;/* VM_EXEC & ~VM_WRITE & ~VM_STACK */ unsigned long stack_vm;/* VM_STACK */ -vm_flags_t def_flags; +union { +/* Temporary while VMA flags are being converted. */ +vm_flags_t def_flags; +vma_flags_t def_vma_flags; + };/** * @write_protect_seq: Locked when any thread is write
mm/vma.h renamed from mm/vma.h~mm-vma-add-further-vma_flags_t-unions +5 -1
@@ -98,7 +98,11 @@ struct vma_merge_struct {unsigned long end;pgoff_t pgoff; -vm_flags_t vm_flags; +union { +/* Temporary while VMA flags are being converted. */ +vm_flags_t vm_flags; +vma_flags_t vma_flags; + };struct file *file;struct anon_vma *anon_vma;struct mempolicy *policy;
tools/testing/vma/include/dup.h renamed from tools/testing/vma/include/dup.h~mm-vma-add-further-vma_flags_t-unions +4 -1
@@ -33,7 +33,10 @@ struct mm_struct {unsigned long exec_vm;/* VM_EXEC & ~VM_WRITE & ~VM_STACK */ unsigned long stack_vm;/* VM_STACK */ -unsigned long def_flags; +union { +vm_flags_t def_flags; +vma_flags_t def_vma_flags; + };mm_flags_t flags;/* Must use mm_flags_* helpers to access */ };
_
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