]> git.proxmox.com Git - qemu.git/commit
Allocate memory below 4GB as one chunk
authorAvi Kivity <avi@redhat.com>
Wed, 24 Feb 2010 21:11:19 +0000 (18:11 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 4 Mar 2010 03:28:41 +0000 (00:28 -0300)
commit60e4c6317b8773d987729401aeca9d8c6b61b05f
tree910fd8cd4c4837775ce1c8be46d24b1c5f6775ad
parent55b1e61f640bb2cf3bed0b4cc6d4ba1326c625d9
Allocate memory below 4GB as one chunk

Instead of allocating a separate chunk for the first 640KB and another
for 1MB+, allocate one large chunk.  This plays well in terms of alignment
and size with large pages.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
hw/pc.c