提交 fb8e8375 编写于 作者: J Jeremy Fitzhardinge 提交者: Ingo Molnar

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: NJeremy 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: NIngo Molnar <mingo@elte.hu>
上级 e937fcf2
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#ifdef CONFIG_X86_32 #ifdef CONFIG_X86_32
# ifdef CONFIG_X86_PAE # ifdef CONFIG_X86_PAE
# define SECTION_SIZE_BITS 30 # define SECTION_SIZE_BITS 29
# define MAX_PHYSADDR_BITS 36 # define MAX_PHYSADDR_BITS 36
# define MAX_PHYSMEM_BITS 36 # define MAX_PHYSMEM_BITS 36
# else # else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册