Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756318AbZDUKUy (ORCPT ); Tue, 21 Apr 2009 06:20:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752086AbZDUKUm (ORCPT ); Tue, 21 Apr 2009 06:20:42 -0400 Received: from one.firstfloor.org ([213.235.205.2]:37351 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753193AbZDUKUl (ORCPT ); Tue, 21 Apr 2009 06:20:41 -0400 Date: Tue, 21 Apr 2009 12:24:02 +0200 From: Andi Kleen To: Linus Torvalds Cc: Tim Abbott , Linux kernel mailing list , Anders Kaseorg , Waseem Daher , Denys Vlasenko , Rusty Russell , Andi Kleen , "H. Peter Anvin" , Stephen Rothwell , Jeff Arnold , Andrew Morton , Jon Masters Subject: Re: [PATCH v2 0/4] Add support for compiling with -ffunction-sections -fdata-sections Message-ID: <20090421102402.GZ14687@one.firstfloor.org> References: <1238973278-31735-1-git-send-email-tabbott@mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1041 Lines: 29 > Are there any advantages outside of the size things? Yes ksplice needs it too. > Do we end up packing data better? There used to be tools to do that (use profile feedback to pack code), but I'm not sure they would help the kernel too much because they were mostly aimed at demand paging. But such tools definitely would need this infrastructure. Iirc there are some architectures othat benefit from hold/cold partioning during execution. > I'd like to have some more champions of this code, in other words. I definitely like the size angle -- letting the linker eliminate code without ifdef jungles certainly sounds attractive to me. Also if we find broken toolchains I suppose it wouldn't be too difficult to black list them. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- 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/