From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Subject: [PATCH 0/3] KVM: PPC: Book3S HV: More flexible allocator for linear memory Date: Wed, 12 Sep 2012 10:34:27 +1000 Message-ID: <20120912003427.GH32642@bloggs.ozlabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org To: Alexander Graf Return-path: Content-Disposition: inline Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org This series of 3 patches makes it possible for guests to allocate whatever size of HPT they need from linear memory preallocated at boot, rather than being restricted to a single size of HPT (by default, 16MB) and having to use the kernel page allocator for anything else -- which in practice limits them to at most 16MB given the default value for the maximum page order. Instead of allocating many individual pieces of memory, this allocates a single contiguous area and uses a simple bitmap-based allocator to hand out pieces of it as required. Paul.