From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 06 May 2009 19:24:33 +0100 (BST) Received: from mail3.caviumnetworks.com ([12.108.191.235]:19948 "EHLO mail3.caviumnetworks.com" rhost-flags-OK-OK-OK-OK) by ftp.linux-mips.org with ESMTP id S20022123AbZEFSY1 (ORCPT ); Wed, 6 May 2009 19:24:27 +0100 Received: from exch4.caveonetworks.com (Not Verified[192.168.16.23]) by mail3.caviumnetworks.com with MailMarshal (v6,2,2,3503) id ; Wed, 06 May 2009 14:24:04 -0400 Received: from exch4.caveonetworks.com ([192.168.16.23]) by exch4.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 6 May 2009 11:24:07 -0700 Received: from dd1.caveonetworks.com ([64.169.86.201]) by exch4.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 6 May 2009 11:24:07 -0700 Message-ID: <4A01D5C7.4090900@caviumnetworks.com> Date: Wed, 06 May 2009 11:24:07 -0700 From: David Daney User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: David VomLehn CC: Ralf Baechle , linux-mips@linux-mips.org Subject: Re: [PATCH 2/3] mips:powertv: Make kernel command line size configurable (resend) References: <20090504225719.GA22417@cuplxvomd02.corp.sa.net> <20090506163518.GA19624@linux-mips.org> <20090506181931.GA14025@cuplxvomd02.corp.sa.net> In-Reply-To: <20090506181931.GA14025@cuplxvomd02.corp.sa.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 May 2009 18:24:07.0591 (UTC) FILETIME=[D7EE2B70:01C9CE77] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 22642 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ddaney@caviumnetworks.com Precedence: bulk X-list: linux-mips David VomLehn wrote: > On Wed, May 06, 2009 at 05:35:18PM +0100, Ralf Baechle wrote: >> On Mon, May 04, 2009 at 03:57:19PM -0700, David VomLehn wrote: >> >>> Most platforms can get by perfectly well with the default command line size, >>> but some platforms need more. This patch allows the command line size to >>> be configured for those platforms that need it. The default remains 256 >>> characters. >>> >>> Signed-off-by: David VomLehn >> How big of a command line do you need? For no scientific reason other >> than there not being any obvious need for a larger size MIPS is using 256 >> and I think unless you're asking for a huge number it will be better to >> just raise that constant. > > The answer depends on the platform, but it's at 438 characters on a typical > platform. If I *had* to pick a number, I'd probably go for 512 characters; I > just hate to force others to use memory they aren't going to use. > I wonder if the memory could be dynamically allocated. It would of course be a much larger patch. David Daney