mm-memory-support-vm_mixedmap-in-zap_special_vma_range.patch removed from -mm tree
The quilt patch titled
Subject: mm/memory: support VM_MIXEDMAP in zap_special_vma_range()
has been removed from the -mm tree. Its filename was
mm-memory-support-vm_mixedmap-in-zap_special_vma_range.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: "David Hildenbrand (Arm)" <[email protected]>
Subject: mm/memory: support VM_MIXEDMAP in zap_special_vma_range()
Date: Fri, 27 Feb 2026 21:08:47 +0100
There is demand for also zapping page table entries by drivers in VM_MIXEDMAP VMAs[1].
Nothing really speaks against supporting VM_MIXEDMAP for driver use. We just don't want arbitrary drivers to zap in ordinary (non-special) VMAs.
---
mm/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/memory.c renamed from mm/memory.c~mm-memory-support-vm_mixedmap-in-zap_special_vma_range +2 -2
@@ -2239,13 +2239,13 @@ void zap_vma_range(struct vm_area_struct* @size: number of bytes to zap * * This function does nothing when the provided address range is not fully -* contained in @vma, or when the @vma is not VM_PFNMAP. +* contained in @vma, or when the @vma is not VM_PFNMAP or VM_MIXEDMAP. */ void zap_special_vma_range (struct vm_area_struct *vma,unsigned long address,unsigned long size) {if (!range_in_vma (vma, address, address + size) || - !(vma->vm_flags &VM_PFNMAP )) + !(vma->vm_flags & (VM_PFNMAP |VM_MIXEDMAP )))return ;zap_vma_range (vma, address, size);
_
Patches currently in -mm which might be from [email protected] are