From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH -V3 2/4] powerpc/kvm: Contiguous memory allocator based hash page table allocation Date: Wed, 03 Jul 2013 08:28:29 +1000 Message-ID: <1372804109.4122.25.camel@pasglop> 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> <51D2EDD7.9060205@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: "Aneesh Kumar K.V" , paulus@samba.org, 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 To: Alexander Graf Return-path: In-Reply-To: <51D2EDD7.9060205@suse.de> Sender: owner-linux-mm@kvack.org List-Id: kvm.vger.kernel.org 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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org