Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760902AbYBWS4v (ORCPT ); Sat, 23 Feb 2008 13:56:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756314AbYBWS4l (ORCPT ); Sat, 23 Feb 2008 13:56:41 -0500 Received: from smtp1.linux-foundation.org ([207.189.120.13]:44362 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754372AbYBWS4k (ORCPT ); Sat, 23 Feb 2008 13:56:40 -0500 Date: Sat, 23 Feb 2008 10:55:17 -0800 From: Andrew Morton To: Andi Kleen Cc: Ilpo =?ISO-8859-1?B?SuRydmluZW4=?= , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller , Arnaldo Carvalho de Melo Subject: Re: [RFC PATCH 0/8]: uninline & uninline Message-Id: <20080223105517.4d706511.akpm@linux-foundation.org> In-Reply-To: References: <1203515238-22848-1-git-send-email-ilpo.jarvinen@helsinki.fi> <20080223000220.e9229c99.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1668 Lines: 41 On Sat, 23 Feb 2008 14:15:06 +0100 Andi Kleen wrote: > Andrew Morton writes: > > > >> -41525 2066 f, 3370 +, 44895 -, diff: -41525 IS_ERR > > > > This is a surprise. I expect that the -mm-only > > profile-likely-unlikely-macros.patch is the cause of this and mainline > > doesn't have this problem. > > Shouldn't they only have overhead when the respective CONFIG is enabled? yup. > > If true, then this likely/unlikely bloat has probably spread into a lot of > > your other results and it all should be redone against mainline, sorry :( > > > > (I'm not aware of anyone having used profile-likely-unlikely-macros.patch > > in quite some time. That's unfortunate because it has turned up some > > fairly flagrant code deoptimisations) > > Is there any reason they couldn't just be merged to mainline? > > I think it's a useful facility. ummm, now why did we made that decision... I think we decided that it's the sort of thing which one person can run once per few months and that will deliver its full value. I can maintain it in -mm and we're happy - no need to add it to mainline. No strong feelings either way really. It does have the downside that the kernel explodes if someone adds unlikely or likely to the vdso code and I need to occasionally hunt down new additions and revert them in that patch. That makes it a bit of a maintenance burden. -- 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/