[kernel] Turn off THP for 32bit

Justin M. Forbes jforbes at fedoraproject.org
Fri Jan 25 16:51:16 UTC 2013


commit e66c8fda4444269151b80ec3d570182205f748b5
Author: Justin M. Forbes <jforbes at redhat.com>
Date:   Fri Jan 25 10:45:19 2013 -0600

    Turn off THP for 32bit

 config-x86-32-generic |    2 ++
 config-x86-generic    |    2 --
 config-x86_64-generic |    2 ++
 kernel.spec           |    3 +++
 4 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/config-x86-32-generic b/config-x86-32-generic
index 65d68f8..0e9b3f4 100644
--- a/config-x86-32-generic
+++ b/config-x86-32-generic
@@ -96,6 +96,8 @@ CONFIG_X86_TRAMPOLINE=y
 
 CONFIG_PCI_DIRECT=y
 
+# CONFIG_TRANSPARENT_HUGEPAGE is not set
+
 # SHPC has half-arsed PCI probing, which makes it load on too many systems
 # CONFIG_HOTPLUG_PCI_SHPC is not set
 
diff --git a/config-x86-generic b/config-x86-generic
index 8d26391..e8335a2 100644
--- a/config-x86-generic
+++ b/config-x86-generic
@@ -392,8 +392,6 @@ CONFIG_X86_RESERVE_LOW=64
 CONFIG_PCH_GBE=m
 CONFIG_PCH_PHUB=m
 
-CONFIG_TRANSPARENT_HUGEPAGE=y
-
 CONFIG_CRYPTO_AES_NI_INTEL=y
 CONFIG_CRYPTO_SERPENT_SSE2_586=m
 
diff --git a/config-x86_64-generic b/config-x86_64-generic
index e10d785..bcea67e 100644
--- a/config-x86_64-generic
+++ b/config-x86_64-generic
@@ -29,6 +29,8 @@ CONFIG_AMD_IOMMU_V2=m
 CONFIG_SWIOTLB=y
 # CONFIG_CALGARY_IOMMU is not set
 
+CONFIG_TRANSPARENT_HUGEPAGE=y
+
 CONFIG_KEXEC_JUMP=y
 
 CONFIG_ACPI_BLACKLIST_YEAR=0
diff --git a/kernel.spec b/kernel.spec
index 6c1a8c6..082c433 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2313,6 +2313,9 @@ fi
 #                 ||----w |
 #                 ||     ||
 %changelog
+* Fri Jan 25 2013 Justin M. Forbes <jforbes at redhat.com>
+- Turn off THP for 32bit
+
 * Fri Jan 25 2013 Justin M. Forbes <jforbes at redhat.com> - 3.8.0-0.rc4.git5.1
 - Linux v3.8-rc4-277-g66e2d3e
 - Enable slub debug


More information about the scm-commits mailing list