Skip to contentSkip to conversation

maple_tree-remove-undocumented-config_maple_rcu_disabled-macro.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Aug 25

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: maple_tree: remove undocumented CONFIG_MAPLE_RCU_DISABLED macro
has been removed from the -mm tree. Its filename was
maple_tree-remove-undocumented-config_maple_rcu_disabled-macro.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: Ethan Nelson-Moore <[email protected]>
Subject: maple_tree: remove undocumented CONFIG_MAPLE_RCU_DISABLED macro
Date: Wed, 10 Jun 2026 15:09:04 -0700

<linux/maple_tree.h> consults the macro CONFIG_MAPLE_RCU_DISABLED to determine whether to disable the mt_in_rcu() function (by making it always return false). This macro is not reachable via Kconfig, despite its name, and is not documented anywhere. Remove it to avoid polluting the CONFIG_* namespace.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

---

 include/linux/maple_tree.h |    4 ----
 1 file changed, 4 deletions(-)
include/linux/maple_tree.h renamed from include/linux/maple_tree.h~maple_tree-remove-undocumented-config_maple_rcu_disabled-macro +0 -4
@@ -11,7 +11,6 @@
 #include <linux/kernel.h>
 #include <linux/rcupdate.h>
 #include <linux/spinlock.h>
-/* #define CONFIG_MAPLE_RCU_DISABLED */
 
 /*
  * Allocated nodes are mutable until they have been inserted into the tree,
@@ -864,9 +863,6 @@ static inline void mt_init(struct maple_
 
 static inline bool mt_in_rcu(struct maple_tree *mt)
 {
-#ifdef CONFIG_MAPLE_RCU_DISABLED
-	return false;
-#endif
 	return mt->ma_flags & MT_FLAGS_USE_RCU;
 }
 

_

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