Skip to contentSkip to conversation

mm-remove-vm_pat.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 21, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: remove VM_PAT
has been removed from the -mm tree. Its filename was
mm-remove-vm_pat.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 <[email protected]>
Subject: mm: remove VM_PAT
Date: Mon, 12 May 2025 14:34:19 +0200

It's unused, so let's remove it.

Cc Andy Lutomirski <[email protected]>
Cc Borislav Betkov <[email protected]>
Cc Dave Airlie <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Jann Horn <[email protected]>
Cc Jonas Lahtinen <[email protected]>
Cc "Masami Hiramatsu (Google)" <[email protected]>
Cc Mathieu Desnoyers <[email protected]>
Cc Peter Xu <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Rodrigo Vivi <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Thomas Gleinxer <[email protected]>
Cc Tvrtko Ursulin <[email protected]>
Cc Vlastimil Babka <[email protected]>

---

 include/linux/mm.h             |    4 +---
 include/trace/events/mmflags.h |    4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-remove-vm_pat +1 -3
@@ -357,9 +357,7 @@ extern unsigned int kobjsize(const void
 # define VM_SHADOW_STACK	VM_NONE
 #endif
 
-#if defined(CONFIG_X86)
-# define VM_PAT		VM_ARCH_1	/* PAT reserves whole VMA at once (x86) */
-#elif defined(CONFIG_PPC64)
+#if defined(CONFIG_PPC64)
 # define VM_SAO		VM_ARCH_1	/* Strong Access Ordering (powerpc) */
 #elif defined(CONFIG_PARISC)
 # define VM_GROWSUP	VM_ARCH_1
include/trace/events/mmflags.h renamed from include/trace/events/mmflags.h~mm-remove-vm_pat +1 -3
@@ -172,9 +172,7 @@ IF_HAVE_PG_ARCH_3(arch_3)
 	__def_pageflag_names						\
 	) : "none"
 
-#if defined(CONFIG_X86)
-#define __VM_ARCH_SPECIFIC_1 {VM_PAT,     "pat"           }
-#elif defined(CONFIG_PPC64)
+#if defined(CONFIG_PPC64)
 #define __VM_ARCH_SPECIFIC_1 {VM_SAO,     "sao"           }
 #elif defined(CONFIG_PARISC)
 #define __VM_ARCH_SPECIFIC_1 {VM_GROWSUP,	"growsup"	}

_

Patches currently in -mm which might be from [email protected] are