Re: [kvm-devel] [PATCH] QEMU/KVM: large page support

2008-02-23 Thread Anthony Liguori
Marcelo Tosatti wrote: > I thought about doing that (gets rid of the 4GB+ special casing) but we > lose the ability to compact smaller allocations in a single largepage. > > Right now the VGA BIOS and the BIOS fit in the same largepage, for > example. > Ah, good point. I was actually talking a

Re: [kvm-devel] [PATCH] QEMU/KVM: large page support

2008-02-23 Thread Marcelo Tosatti
Hi Anthony, Thanks for your comments. On Sat, Feb 23, 2008 at 12:29:27PM -0600, Anthony Liguori wrote: > In general, I don't think it causes any real harm if we always align the > ram address to a large page boundary. If we aren't on Linux (and can't > determine what the large page size is),

Re: [kvm-devel] [PATCH] QEMU/KVM: large page support

2008-02-23 Thread Anthony Liguori
Hi Marcelo, Marcelo Tosatti wrote: > Add an option so the user can specify the hugetlbfs mounted path, with > fallback to 4k pages on error. > > Align the 4GB+ memslot on large page boundary. > > Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]> > > Index: kvm-userspace.gitpara/qemu/hw/pc.c > ===

[kvm-devel] [PATCH] QEMU/KVM: large page support

2008-02-23 Thread Marcelo Tosatti
Add an option so the user can specify the hugetlbfs mounted path, with fallback to 4k pages on error. Align the 4GB+ memslot on large page boundary. Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]> Index: kvm-userspace.gitpara/qemu/hw/pc.c =