From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964890AbWD0Ib7 (ORCPT ); Thu, 27 Apr 2006 04:31:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964978AbWD0Ib7 (ORCPT ); Thu, 27 Apr 2006 04:31:59 -0400 Received: from mailout.stusta.mhn.de ([141.84.69.5]:17679 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S964890AbWD0Ib7 (ORCPT ); Thu, 27 Apr 2006 04:31:59 -0400 Date: Thu, 27 Apr 2006 10:31:57 +0200 From: Adrian Bunk To: Arjan van de Ven Cc: Pekka J Enberg , Nick Piggin , =?iso-8859-1?Q?J=F6rn?= Engel , Hua Zhong , linux-kernel@vger.kernel.org, akpm@osdl.org Subject: Re: [PATCH] likely cleanup: remove unlikely for kfree(NULL) Message-ID: <20060427083157.GD3570@stusta.de> References: <1146040038.7016.0.camel@laptopd505.fenrus.org> <20060426100559.GC29108@wohnheim.fh-wedel.de> <1146046118.7016.5.camel@laptopd505.fenrus.org> <1146049414.7016.9.camel@laptopd505.fenrus.org> <20060426110656.GD29108@wohnheim.fh-wedel.de> <445061DC.5030008@yahoo.com.au> <1146120640.2894.1.camel@laptopd505.fenrus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1146120640.2894.1.camel@laptopd505.fenrus.org> User-Agent: Mutt/1.5.11+cvs20060403 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 27, 2006 at 08:50:40AM +0200, Arjan van de Ven wrote: > On Thu, 2006-04-27 at 09:28 +0300, Pekka J Enberg wrote: > > On Thu, 27 Apr 2006, Nick Piggin wrote: > > > Not to dispute your conclusions or method, but I think doing a > > > defconfig or your personal config might be more representative > > > of % size increase of text that will actually be executed. And > > > that is the expensive type of text. > > > > True but I was under the impression that Arjan thought we'd get text > > savings with GCC 4.1 by making kfree() inline. > > not savings in text size, I'll settle for the same size. >... It will always be bigger since there are cases where it's unknown at compile time whether it will be NULL when called. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed