Skip to contentSkip to conversation

lib-cpumask-make-cpumask_offstack-usable-without-debug-dependency.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 27, 2013 Library code

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] lib-cpumask-make-cpumask_offstack-usable-without-debug-dependency.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 27 Nov 2013 12:26:35 -0800

The patch titled
Subject: lib/cpumask: make CPUMASK_OFFSTACK usable without debug dependency
has been removed from the -mm tree. Its filename was
lib-cpumask-make-cpumask_offstack-usable-without-debug-dependency.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Josh Boyer <[email protected]>
Subject: lib/cpumask: make CPUMASK_OFFSTACK usable without debug dependency

When CPUMASK_OFFSTACK was added in 2008, it was dependent upon DEBUG_PER_CPU_MAPS being enabled, or an architecture could select it. The debug dependency adds additional overhead that isn't required for operation of the feature, and we need CPUMASK_OFFSTACK to increase the NR_CPUS value beyond 512 on x86. We drop the current dependency and make sure SMP is set.

Cc Ingo Molnar <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc "H. Peter Anvin" <[email protected]>

---

 lib/Kconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
lib/Kconfig renamed from lib/Kconfig~lib-cpumask-make-cpumask_offstack-usable-without-debug-dependency +2 -1
diff -puN lib/Kconfig~lib-cpumask-make-cpumask_offstack-usable-without-debug-dependency lib/Kconfig
@@ -349,7 +349,8 @@ config CHECK_SIGNATURE
 	bool
 
 config CPUMASK_OFFSTACK
-	bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
+	bool "Force CPU masks off stack"
+	depends on SMP
 	help
 	  Use dynamic allocation for cpumask_var_t, instead of putting
 	  them on the stack.  This is a bit more expensive, but avoids

_

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

linux-next.patch