Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758325AbZAGOho (ORCPT ); Wed, 7 Jan 2009 09:37:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757321AbZAGOhR (ORCPT ); Wed, 7 Jan 2009 09:37:17 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:60545 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756414AbZAGOhP (ORCPT ); Wed, 7 Jan 2009 09:37:15 -0500 Date: Wed, 7 Jan 2009 14:37:11 +0000 From: Al Viro To: Jan Beulich Cc: ccache@lists.samba.org, "Theodore Ts'o" , Sam Ravnborg , linux-kernel@vger.kernel.org Subject: Re: [REGRESSION] Recent change to kernel spikes out ccache/distcc Message-ID: <20090107143711.GW28946@ZenIV.linux.org.uk> References: <20090107051027.GU28946@ZenIV.linux.org.uk> <49647A9E.76E4.0078.0@novell.com> <20090107140328.GV28946@ZenIV.linux.org.uk> <4964CA0A.76E4.0078.0@novell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4964CA0A.76E4.0078.0@novell.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1062 Lines: 19 On Wed, Jan 07, 2009 at 02:28:10PM +0000, Jan Beulich wrote: > > b) is there any reason why we can't copy symbol table out of module > >ourselves (instead of setting SHF_ALLOC on it) and trim the crap out of > >it? Note that __crc_... is not the only junk in there - you don't need > >(or want) to keep the things like undefs for /proc/kallsyms purposes. > >And modules *using* an exported symbol are more common that modules exporting > >one... Why not copy it at add_kallsyms() time, skipping the junk we don't > >want anyway? > > Would certainly be doable, but would seem reasonable only if it's a small > set of easily recognizable symbols. If you look at scripts/strip-symbols, > you may agree that it's better to do this at build time... I will not. Undefined ones are far more common than any of those... -- 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/