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

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Jul 3 08:28:29 EST 2013


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).

Cheers,
Ben.




More information about the Linuxppc-dev mailing list