Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757879Ab0GUNxg (ORCPT ); Wed, 21 Jul 2010 09:53:36 -0400 Received: from cassiel.sirena.org.uk ([80.68.93.111]:34931 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753286Ab0GUNxe (ORCPT ); Wed, 21 Jul 2010 09:53:34 -0400 Date: Wed, 21 Jul 2010 14:52:30 +0100 From: Mark Brown To: Micha?? Nazarewicz Cc: Daniel Walker , linux-mm@kvack.org, Marek Szyprowski , Pawel Osciak , Xiaolin Zhang , Hiremath Vaibhav , Robert Fekete , Marcus Lorentzon , linux-kernel@vger.kernel.org, Kyungmin Park , linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 2/4] mm: cma: Contiguous Memory Allocator added Message-ID: <20100721135229.GC10930@sirena.org.uk> References: <1279649724.26765.23.camel@c-dwalke-linux.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Cookie: He who laughs last didn't get the joke. User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Scanned: No (on cassiel.sirena.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1115 Lines: 21 On Tue, Jul 20, 2010 at 09:14:58PM +0200, Micha?? Nazarewicz wrote: > On Tue, 20 Jul 2010 20:15:24 +0200, Daniel Walker wrote: > > If you have this disconnected from the drivers it will just cause > > confusion, since few will know what these parameters should be for a > > given driver set. It needs to be embedded in the kernel. > I see your point but the problem is that devices drivers don't know the > rest of the system neither they know what kind of use cases the system > should support. If this does need to be configured per system would having platform data of some kind in the kernel not be a sensible a place to do it, or even having a way of configuring this at runtime (after all, the set of currently active users may vary depending on the current configuration and keeping everything allocated all the time may be wasteful)? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/