From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 31 May 2001 15:45:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 31 May 2001 15:45:00 -0400 Received: from cisco7500-mainGW.gts.cz ([194.213.32.131]:3844 "EHLO bug.ucw.cz") by vger.kernel.org with ESMTP id ; Thu, 31 May 2001 15:44:49 -0400 Message-ID: <20010531002837.B21681@bug.ucw.cz> Date: Thu, 31 May 2001 00:28:37 +0200 From: Pavel Machek To: jt@hpl.hp.com, Jeff Garzik Cc: Andrzej Krzysztofowicz , Alan Cox , tori@unhappy.mine.nu, kernel list Subject: Re: [PATCH] net #9 In-Reply-To: <200105300048.CAA04583@green.mif.pg.gda.pl> <20010529180420.A14639@bougret.hpl.hp.com> <3B14493E.63F861E7@mandrakesoft.com> <20010529182506.A14727@bougret.hpl.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93i In-Reply-To: <20010529182506.A14727@bougret.hpl.hp.com>; from Jean Tourrilhes on Tue, May 29, 2001 at 06:25:06PM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > This is standard kernel cleanup that makes the resulting image smaller. > > These patches have been going into all areas of the kernel for quite > > some time. > > This doesn't make it right. Well... It does. Code should be uniform. You may like if ( x == y ) { printf( "ahoj" ); } style of indentation, but it is not okay in kernel. > Ok, while we are on the topic : could somebody explain me why > we can't get gcc to do that for us ? What is preventing adding a gcc int xyzzy; goes to BSS, while int xyzzy = 0 goes to DATA. That is important for some folks. > command line flag to do exactly that ? It's not like rocket science > (simple test) and would avoid to have tediously to go through all It is actually not *so* easy to do it in gcc; there's patch, however. Pavel -- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org