Re: [PATCH v2 1/4] mm: declare VMA flags by bit

From: Lorenzo Stoakes

Date: Thu Nov 20 2025 - 09:28:52 EST


Hi Andrew,

Sorry to be a pain, seems build bots are sleeping on parisc32/64 as there was
some accidental duplication of VM_STACK_EARLY when CONFIG_STACK_GROWSUP is
specified (currently only a parisc thing :).

The attached fix-patch fixes this and some broken whitespace.

Many thanks to David H. who noticed this and pinged me off-list!

Cheers, Lorenzo

----8<----
>From d706def8a4511b42bc7c7da0a01a3f30cd054e6e Mon Sep 17 00:00:00 2001
From: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
Date: Thu, 20 Nov 2025 14:23:13 +0000
Subject: [PATCH] fixup

Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
---
include/linux/mm.h | 8 --------
1 file changed, 8 deletions(-)

diff --git a/include/linux/mm.h b/include/linux/mm.h
index 3148be546e11..5f7f4aad1d26 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -529,14 +529,6 @@ enum {

#define VM_STARTGAP_FLAGS (VM_GROWSDOWN | VM_SHADOW_STACK)

-
-
-#ifdef CONFIG_STACK_GROWSUP
-#define VM_STACK_EARLY VMA_BIT(VMA_STACK_EARLY_BIT)
-#else
-#define VM_STACK_EARLY VM_NONE
-#endif
-
#ifdef CONFIG_MSEAL_SYSTEM_MAPPINGS
#define VM_SEALED_SYSMAP VM_SEALED
#else
--
2.51.2