]> err.no Git - linux-2.6/commitdiff
x86: sparsemem: reduce i386 PAE section size
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 28 Mar 2008 00:28:39 +0000 (17:28 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:33 +0000 (17:41 +0200)
A 1G section size makes memory hotplug too coarse in a virtual
environment.  Retuce it by a factor of 2 to 512M.  I would have liked
to make it smaller, but it runs out of reserved flags in the page flags.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/sparsemem.h

index fa684f353aa7e4cd590d40225037e344308ab4d8..9bd48b0a534ba7b76ffeb439e9276af540a35081 100644 (file)
@@ -16,7 +16,7 @@
 
 #ifdef CONFIG_X86_32
 # ifdef CONFIG_X86_PAE
-#  define SECTION_SIZE_BITS    30
+#  define SECTION_SIZE_BITS    29
 #  define MAX_PHYSADDR_BITS    36
 #  define MAX_PHYSMEM_BITS     36
 # else