[PATCH -V3 2/4] powerpc/kvm: Contiguous memory allocator based hash page table allocation

Alexander Graf agraf at suse.de
Wed Jul 3 08:31:05 EST 2013


On 03.07.2013, at 00:28, Benjamin Herrenschmidt wrote:

> On Tue, 2013-07-02 at 17:12 +0200, Alexander Graf wrote:
>> Is CMA a mandatory option in the kernel? Or can it be optionally 
>> disabled? If it can be disabled, we should keep the preallocated 
>> fallback case around for systems that have CMA disabled.
> 
> Why ? More junk code to keep around ...
> 
> If CMA is disabled, we can limit ourselves to dynamic allocation (with
> limitation to 16M hash table).

Aneesh adds a requirement for CMA on the KVM option in Kconfig, so all is well.


Alex



More information about the Linuxppc-dev mailing list