Re: [PATCH 07/23] KVM: PPC: Book3S PR: Use 64k host pages where possible

2013-08-29 Thread Alexander Graf
On 29.08.2013, at 07:23, Paul Mackerras wrote: > On Thu, Aug 29, 2013 at 01:24:04AM +0200, Alexander Graf wrote: >> >> On 06.08.2013, at 06:19, Paul Mackerras wrote: >> >>> +#ifdef CONFIG_PPC_64K_PAGES >>> + /* >>> +* Mark this as a 64k segment if the host is using >>> +* 64k pages, t

Re: [PATCH 07/23] KVM: PPC: Book3S PR: Use 64k host pages where possible

2013-08-28 Thread Paul Mackerras
On Thu, Aug 29, 2013 at 01:24:04AM +0200, Alexander Graf wrote: > > On 06.08.2013, at 06:19, Paul Mackerras wrote: > > > +#ifdef CONFIG_PPC_64K_PAGES > > + /* > > +* Mark this as a 64k segment if the host is using > > +* 64k pages, the host MMU supports 64k pages and > > +* the gues

Re: [PATCH 07/23] KVM: PPC: Book3S PR: Use 64k host pages where possible

2013-08-28 Thread Alexander Graf
On 06.08.2013, at 06:19, Paul Mackerras wrote: > Currently, PR KVM uses 4k pages for the host-side mappings of guest > memory, regardless of the host page size. When the host page size is > 64kB, we might as well use 64k host page mappings for guest mappings > of 64kB and larger pages and for gu

[PATCH 07/23] KVM: PPC: Book3S PR: Use 64k host pages where possible

2013-08-05 Thread Paul Mackerras
Currently, PR KVM uses 4k pages for the host-side mappings of guest memory, regardless of the host page size. When the host page size is 64kB, we might as well use 64k host page mappings for guest mappings of 64kB and larger pages and for guest real-mode mappings. However, the magic page has to r