From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with ESMTP id DC3AB6B024D for ; Thu, 22 Jul 2010 11:05:36 -0400 (EDT) Date: Thu, 22 Jul 2010 16:05:32 +0100 From: Mark Brown Subject: Re: [PATCH 2/4] mm: cma: Contiguous Memory Allocator added Message-ID: <20100722150532.GA16119@rakim.wolfsonmicro.main> References: <20100721182457.GE10930@sirena.org.uk> <20100722090602.GF10930@sirena.org.uk> <000901cb297f$e28f2b10$a7ad8130$%szyprowski@samsung.com> <20100722105203.GD4737@rakim.wolfsonmicro.main> <20100722124559.GH4737@rakim.wolfsonmicro.main> <20100722134056.GJ4737@rakim.wolfsonmicro.main> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: owner-linux-mm@kvack.org To: =?utf-8?Q?Micha=C5=82?= Nazarewicz Cc: Marek Szyprowski , 'Daniel Walker' , linux-mm@kvack.org, Pawel Osciak , 'Xiaolin Zhang' , 'Hiremath Vaibhav' , 'Robert Fekete' , 'Marcus Lorentzon' , linux-kernel@vger.kernel.org, 'Kyungmin Park' , linux-arm-msm@vger.kernel.org List-ID: On Thu, Jul 22, 2010 at 04:58:43PM +0200, MichaA? Nazarewicz wrote: > On Thu, 22 Jul 2010 15:40:56 +0200, Mark Brown wrote: > >Yeah, agreed though I'm not convinced we can't do it via userspace > >(initrd would give us a chance to do stuff early) or just kernel > >rebuilds. > If there's any other easy way of overwriting platform's default I'm happy > to listen. :) Netlink or similar, for example? > >Yes, exactly - probably you can even have a default region backed by > >normal vmalloc() RAM which would at least be able to take a stab at > >working by default. > Not sure what you mean here. vmalloc() allocated buffers cannot be used > with CMA since they are not contiguous in memory. Sorry, thinko - I just meant allocated at runtime. It'd fail a a lot of the time so might not be worth bothering. -- 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