Re: [kvm-devel] the trouble with large pages

2007-09-07 Thread Anthony Liguori
On Fri, 2007-09-07 at 17:00 +0200, Segher Boessenkool wrote: > > The PowerPC 440 Linux kernel uses 256MB pages for the linear mapping. > > When we run that as a guest, those pages would of course need to be > > physically contiguous in the host. > > > Another possibility is to fake out guest larg

Re: [kvm-devel] the trouble with large pages

2007-09-07 Thread Anthony Liguori
On Fri, 2007-09-07 at 09:40 -0500, Hollis Blanchard wrote: > The PowerPC 440 Linux kernel uses 256MB pages for the linear mapping. > When we run that as a guest, those pages would of course need to be > physically contiguous in the host. > > I think long-term the KVM plan is to move memory allocat

Re: [kvm-devel] the trouble with large pages

2007-09-07 Thread Segher Boessenkool
> The PowerPC 440 Linux kernel uses 256MB pages for the linear mapping. > When we run that as a guest, those pages would of course need to be > physically contiguous in the host. > Another possibility is to fake out guest large pages by actually using > small pages on the host, and handle the extr

Re: [kvm-devel] the trouble with large pages

2007-09-07 Thread Izik Eidus
Hollis Blanchard wrote: > The PowerPC 440 Linux kernel uses 256MB pages for the linear mapping. > When we run that as a guest, those pages would of course need to be > physically contiguous in the host. > > I think long-term the KVM plan is to move memory allocation out of the > kernel (where it cu

[kvm-devel] the trouble with large pages

2007-09-07 Thread Hollis Blanchard
The PowerPC 440 Linux kernel uses 256MB pages for the linear mapping. When we run that as a guest, those pages would of course need to be physically contiguous in the host. I think long-term the KVM plan is to move memory allocation out of the kernel (where it currently uses vmalloc) into userspac