summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2012-01-17 14:33:12 -0500
committerDave Jones <davej@redhat.com>2012-01-17 14:33:12 -0500
commitd283b6f1bb095ba52e957dc155a51e2097d8c5ca (patch)
tree616c75f528fcc88b5558cfe70f8e6834393eb0e2
parent96efdd95530325e0164f0fa007600b6e17b73294 (diff)
downloadkernel-d283b6f1bb095ba52e957dc155a51e2097d8c5ca.tar.gz
kernel-d283b6f1bb095ba52e957dc155a51e2097d8c5ca.tar.xz
kernel-d283b6f1bb095ba52e957dc155a51e2097d8c5ca.zip
Change maximum CPU support for x86-64.
Rawhide builds now use MAXSMP on x86. For release builds, set x86-64 to support 64 CPUs. If larger systems become widespread, we can increase in an update.
-rw-r--r--Makefile2
-rw-r--r--Makefile.release3
-rw-r--r--config-x86-generic2
-rw-r--r--config-x86_64-generic2
-rw-r--r--kernel.spec7
5 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 933eb32b8..c1e1ab92c 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,7 @@ debug:
@# just in case we're going from extremedebug -> debug
@perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-nodebug
- @perl -pi -e 's/CONFIG_NR_CPUS=256/CONFIG_NR_CPUS=512/' config-x86_64-generic
+ @perl -pi -e 's/# CONFIG_MAXSMP is not set/CONFIG_MAXSMP=y/' config-x86-generic
# Try out UAS in rawhide builds.
@perl -pi -e 's/# CONFIG_USB_UAS is not set/CONFIG_USB_UAS=m/' config-generic
diff --git a/Makefile.release b/Makefile.release
index f911ec650..2ef19fe0e 100644
--- a/Makefile.release
+++ b/Makefile.release
@@ -75,6 +75,7 @@ config-release:
@perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-nodebug
# Change defaults back to sane things.
- @perl -pi -e 's/CONFIG_NR_CPUS=512/CONFIG_NR_CPUS=256/' config-x86_64-generic
+ @perl -pi -e 's/CONFIG_MAXSMP=y/# CONFIG_MAXSMP is not set/' config-x86-generic
+
# Disable UAS for release until it's ready.
@perl -pi -e 's/CONFIG_USB_UAS=m/# CONFIG_USB_UAS is not set/' config-generic
diff --git a/config-x86-generic b/config-x86-generic
index 230c78875..3b10fb84b 100644
--- a/config-x86-generic
+++ b/config-x86-generic
@@ -307,7 +307,7 @@ CONFIG_STRICT_DEVMEM=y
# CONFIG_NO_BOOTMEM is not set
# CONFIG_MEMTEST is not set
-# CONFIG_MAXSMP is not set
+CONFIG_MAXSMP=y
CONFIG_HP_ILO=m
diff --git a/config-x86_64-generic b/config-x86_64-generic
index 586b010fa..344a3932a 100644
--- a/config-x86_64-generic
+++ b/config-x86_64-generic
@@ -12,7 +12,7 @@ CONFIG_AMD_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
# CONFIG_NUMA_EMU is not set
-CONFIG_NR_CPUS=512
+CONFIG_NR_CPUS=64
CONFIG_PHYSICAL_START=0x1000000
CONFIG_IA32_EMULATION=y
diff --git a/kernel.spec b/kernel.spec
index 263bf8a43..1da145054 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -54,7 +54,7 @@ Summary: The Linux kernel
# For non-released -rc kernels, this will be appended after the rcX and
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
#
-%global baserelease 5
+%global baserelease 6
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@@ -2322,6 +2322,11 @@ fi
# ||----w |
# || ||
%changelog
+* Tue Jan 17 2012 Dave Jones <davej@redhat.com>
+- Rawhide builds now use MAXSMP on x86.
+- For release builds, set x86-64 to support 64 CPUs.
+ If larger systems become widespread, we can increase in an update.
+
* Tue Jan 17 2012 Dave Jones <davej@redhat.com> 3.2.1-5
- Give KMEMLEAK a try again.