diff options
author | Laura Abbott <labbott@redhat.com> | 2019-08-15 15:17:19 -0400 |
---|---|---|
committer | Laura Abbott <labbott@redhat.com> | 2019-09-16 10:48:39 -0400 |
commit | 9742e529b878106143a0a68c4734af4328688a99 (patch) | |
tree | 027268c8f130d929b433fcb44f8cd271e335a18b /lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch | |
parent | 9a47638b3daa0c79fd58469e4846a4c1c125a58a (diff) | |
download | kernel-9742e529b878106143a0a68c4734af4328688a99.tar.gz kernel-9742e529b878106143a0a68c4734af4328688a99.tar.xz kernel-9742e529b878106143a0a68c4734af4328688a99.zip |
Drop cpumask auto select patch and set NR_CPUS appropriately
We've been carrying a patch to make CPUMASK_OFFSTACK selectable
without debugging for a long time now. The comment said this was
going to be replaced with something else but that never seemed
to happen. We're carrying it to have a higher number of CPUs but
at this point, adjusting NR_CPUS doesn't really get us that much
benfit. Drop the patch and just use 8192 or NR_CPUS on x86.
Signed-off-by: Laura Abbott <labbott@redhat.com>
Diffstat (limited to 'lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch')
-rw-r--r-- | lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch b/lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch deleted file mode 100644 index 5e6d6611e..000000000 --- a/lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch +++ /dev/null @@ -1,34 +0,0 @@ -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. - -Bugzilla: N/A -Upstream-status: Nak'd, supposedly replacement coming to auto-select - -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 3a2ef67db6c7..4af1e7e5a611 100644 ---- a/lib/Kconfig -+++ b/lib/Kconfig -@@ -396,7 +396,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 |