From: Jeremy Fitzhardinge Date: Fri, 28 Mar 2008 00:28:39 +0000 (-0700) Subject: x86: sparsemem: reduce i386 PAE section size X-Git-Tag: v2.6.26-rc1~1154^2~65 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8e8375394e1156a5a1e7ba53504b141d2365a8;p=linux-2.6 x86: sparsemem: reduce i386 PAE section size 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 Cc: KAMEZAWA Hiroyuki Cc: Yasunori Goto Cc: Christoph Lameter Cc: Dave Hansen Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/sparsemem.h b/include/asm-x86/sparsemem.h index fa684f353a..9bd48b0a53 100644 --- a/include/asm-x86/sparsemem.h +++ b/include/asm-x86/sparsemem.h @@ -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