mm-reject-vmap-with-vm_flush_reset_perms.patch removed from -mm tree
The quilt patch titled
Subject: mm: reject vmap with VM_FLUSH_RESET_PERMS
has been removed from the -mm tree. Its filename was
mm-reject-vmap-with-vm_flush_reset_perms.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: Christoph Hellwig <[email protected]>
Subject: mm: reject vmap with VM_FLUSH_RESET_PERMS
Date: Sat, 21 Jan 2023 08:10:42 +0100
Patch series "cleanup vfree and vunmap".
This little series untangles the vfree and vunmap code path a bit.
This patch (of 10):
VM_FLUSH_RESET_PERMS is just for use with vmalloc as it is tied to freeing the underlying pages.
---
mm/vmalloc.c renamed from mm/vmalloc.c~mm-reject-vmap-with-vm_flush_reset_perms +3 -0
@@ -2868,6 +2868,9 @@ void *vmap(struct page **pages, unsignedmight_sleep (); +if (WARN_ON_ONCE (flags &VM_FLUSH_RESET_PERMS )) +return NULL ; +/* * Your top guard is someone else's bottom guard. Not having a top * guard compromises someone else's mappings too.
_
Patches currently in -mm which might be from [email protected] are