From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Date: Wed, 03 Jul 2013 06:15:31 +0000 Subject: Re: [PATCH -V3 2/4] powerpc/kvm: Contiguous memory allocator based hash page table allocation Message-Id: <20130703061531.GA25034@drongo> List-Id: References: <1372743918-12293-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1372743918-12293-2-git-send-email-aneesh.kumar@linux.vnet.ibm.com> In-Reply-To: <1372743918-12293-2-git-send-email-aneesh.kumar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Aneesh Kumar K.V" Cc: benh@kernel.crashing.org, agraf@suse.de, m.szyprowski@samsung.com, mina86@mina86.com, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org, kvm@vger.kernel.org On Tue, Jul 02, 2013 at 11:15:16AM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > Powerpc architecture uses a hash based page table mechanism for mapping virtual > addresses to physical address. The architecture require this hash page table to > be physically contiguous. With KVM on Powerpc currently we use early reservation > mechanism for allocating guest hash page table. This implies that we need to > reserve a big memory region to ensure we can create large number of guest > simultaneously with KVM on Power. Another disadvantage is that the reserved memory > is not available to rest of the subsystems and and that implies we limit the total > available memory in the host. > > This patch series switch the guest hash page table allocation to use > contiguous memory allocator. > > Signed-off-by: Aneesh Kumar K.V Acked-by: Paul Mackerras