From add9038e8cd4d9b005d6d249ee30c529fd520ac8 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Wed, 10 Oct 2007 20:56:59 +0000 Subject: Disable CONFIG_HIGHPTE when XEN support is enabled svn path=/patches/; revision=49 --- trunk/2.6.18/00000_README | 3 +++ trunk/2.6.18/50007_disable-highpte.patch | 13 +++++++++++++ trunk/2.6.20/00000_README | 4 ++++ trunk/2.6.20/50007_disable-highpte.patch | 13 +++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 trunk/2.6.18/50007_disable-highpte.patch create mode 100644 trunk/2.6.20/50007_disable-highpte.patch diff --git a/trunk/2.6.18/00000_README b/trunk/2.6.18/00000_README index 7f99598..6c84c68 100644 --- a/trunk/2.6.18/00000_README +++ b/trunk/2.6.18/00000_README @@ -217,3 +217,6 @@ Patches Compile fix for non-SMP (UP) kernels. Since UP support is broken in upstream Xen I'm not sure if I trust it or not. :-P +50007_disable-highpte.patch + CONFIG_HIGHPTE can cause serious problems so lets save people's + sanity, avoid killing kittens, and end all war by disabling it. diff --git a/trunk/2.6.18/50007_disable-highpte.patch b/trunk/2.6.18/50007_disable-highpte.patch new file mode 100644 index 0000000..3d829fc --- /dev/null +++ b/trunk/2.6.18/50007_disable-highpte.patch @@ -0,0 +1,13 @@ +Index: linux-2.6.18/arch/i386/Kconfig +=================================================================== +--- linux-2.6.18.orig/arch/i386/Kconfig ++++ linux-2.6.18/arch/i386/Kconfig +@@ -624,7 +624,7 @@ config HAVE_ARCH_EARLY_PFN_TO_NID + + config HIGHPTE + bool "Allocate 3rd-level pagetables from highmem" +- depends on HIGHMEM4G || HIGHMEM64G ++ depends on ( HIGHMEM4G || HIGHMEM64G ) && !X86_XEN + help + The VM uses one page table entry for each page of physical memory. + For systems with a lot of RAM, this can be wasteful of precious diff --git a/trunk/2.6.20/00000_README b/trunk/2.6.20/00000_README index 63ec415..c54dae7 100644 --- a/trunk/2.6.20/00000_README +++ b/trunk/2.6.20/00000_README @@ -42,3 +42,7 @@ Patches 50006_pgetable-build-fix.patch Fix a function re-definition error when PAE is not enabled. + +50007_disable-highpte.patch + CONFIG_HIGHPTE can cause serious problems so lets save people's + sanity, avoid killing kittens, and end all war by disabling it. diff --git a/trunk/2.6.20/50007_disable-highpte.patch b/trunk/2.6.20/50007_disable-highpte.patch new file mode 100644 index 0000000..3d829fc --- /dev/null +++ b/trunk/2.6.20/50007_disable-highpte.patch @@ -0,0 +1,13 @@ +Index: linux-2.6.18/arch/i386/Kconfig +=================================================================== +--- linux-2.6.18.orig/arch/i386/Kconfig ++++ linux-2.6.18/arch/i386/Kconfig +@@ -624,7 +624,7 @@ config HAVE_ARCH_EARLY_PFN_TO_NID + + config HIGHPTE + bool "Allocate 3rd-level pagetables from highmem" +- depends on HIGHMEM4G || HIGHMEM64G ++ depends on ( HIGHMEM4G || HIGHMEM64G ) && !X86_XEN + help + The VM uses one page table entry for each page of physical memory. + For systems with a lot of RAM, this can be wasteful of precious -- cgit v1.2.3-65-gdbad