Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756219AbZJAS45 (ORCPT ); Thu, 1 Oct 2009 14:56:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751853AbZJAS44 (ORCPT ); Thu, 1 Oct 2009 14:56:56 -0400 Received: from mail-fx0-f227.google.com ([209.85.220.227]:65463 "EHLO mail-fx0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751842AbZJAS44 (ORCPT ); Thu, 1 Oct 2009 14:56:56 -0400 Message-ID: <4AC4FB77.2090600@natemccallum.com> Date: Thu, 01 Oct 2009 14:56:55 -0400 From: Nathaniel McCallum User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: Greg KH CC: linux-kernel@vger.kernel.org Subject: Re: Exposing device ids and driver names References: <4AC4DB65.8070404@natemccallum.com> <20091001164249.GA2715@kroah.com> <4AC4E07E.8040707@natemccallum.com> <20091001180531.GA3199@kroah.com> <4AC4F67C.7010500@natemccallum.com> <20091001184021.GA26875@kroah.com> In-Reply-To: <20091001184021.GA26875@kroah.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2340 Lines: 46 On 10/01/2009 02:40 PM, Greg KH wrote: > On Thu, Oct 01, 2009 at 02:35:40PM -0400, Nathaniel McCallum wrote: >> On 10/01/2009 02:05 PM, Greg KH wrote: >>> On Thu, Oct 01, 2009 at 01:01:50PM -0400, Nathaniel McCallum wrote: >>>> On 10/01/2009 12:42 PM, Greg KH wrote: >>>>> Why not just use the baseline kernel as a model for this. Do a 'make >>>>> allmodconfig' and then extract the data and publish it that way. No >>>>> kernel changes are needed, and then any distro can be easily matched up >>>>> by this based on what they are using. That will save you time in >>>>> downloading zillions of distro releases, and provide a nice easy way to >>>>> show what the kernel.org releases support. >>>> >>>> Unfortunately, I would not be able to track changes to the kernel in >>>> this model. Since this is one of my explicit goals (to make sure that >>>> distro kernel changes get upstream), I think a non-invasive kernel >>>> modification would be worth the effort. >>> >>> But this was an invasive modification, it added space to the kernel >>> images for no real benifit other than for your tracking tools. That's >>> not going to fly unless you can find another good use for the change. >> >> Which is why I asked for advice for better options. I would prefer a >> non-invasive modification. I am hoping that someone more familiar with >> the layer would provide such a suggestion. >> >> One potential benefit for moving module info to ELF sections would be >> the ability to strip kernel modules. As a test, I did this on a recent >> Fedora rawhide kernel I had lying around. Stripping the modules results >> in a 43% decrease in size (82M to 47M). > > Did those modules have debugging symbols enabled? That seems like a > large savings for just the module device tables. It does not appear so (none of the debug sections are present). But I could be wrong. Stripping the modules on the penultimate Fedora 11 kernel results in the same drop in size. I can't imagine why a release kernel would have anything extra left in the modules (unless it is just by accident). Nathaniel -- 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/