summaryrefslogtreecommitdiffstats
path: root/0001-lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2013-11-12 13:22:52 -0500
committerJosh Boyer <jwboyer@fedoraproject.org>2013-11-12 14:24:29 -0500
commit713abc0c25d574380a3154b9c4d524ac2f5aab29 (patch)
tree972ea7d7258b7c6b59f788a7d59a3ecdcde135c5 /0001-lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch
parent6dfcb01411c8465cede72726b709b986754c3ed1 (diff)
downloadkernel-713abc0c25d574380a3154b9c4d524ac2f5aab29.tar.gz
kernel-713abc0c25d574380a3154b9c4d524ac2f5aab29.tar.xz
kernel-713abc0c25d574380a3154b9c4d524ac2f5aab29.zip
Linux v3.12-4849-g10d0c97
Replace x86-allow-1024-cpus.patch with the patch that contains the one hunk not already applied upstream. Don't install the 'trace' alias symlink for 'perf trace'. Seems much too generic to just throw that into /usr/bin
Diffstat (limited to '0001-lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch')
-rw-r--r--0001-lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/0001-lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch b/0001-lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch
new file mode 100644
index 000000000..41be051e9
--- /dev/null
+++ b/0001-lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch
@@ -0,0 +1,35 @@
+From 0f3f5c5b4ca2eb1f41947c50bedb9b17aa1a1f80 Mon Sep 17 00:00:00 2001
+From: Josh Boyer <jwboyer@fedoraproject.org>
+Date: Mon, 11 Nov 2013 08:39:16 -0500
+Subject: [PATCH] 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.
+
+Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
+---
+ lib/Kconfig | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/lib/Kconfig b/lib/Kconfig
+index b3c8be0..50b47cd 100644
+--- a/lib/Kconfig
++++ b/lib/Kconfig
+@@ -342,7 +342,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
+--
+1.8.3.1
+