Re: [PATCH] Drop exported symbols list if !modules

From: Andrew Morton
Date: Mon Apr 05 2004 - 18:30:07 EST


Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
>
> On Tue, 2004-04-06 at 09:07, Matt Mackall wrote:
> > On Tue, Apr 06, 2004 at 08:45:01AM +1000, Rusty Russell wrote:
> > > On Tue, 2004-04-06 at 06:55, Matt Mackall wrote:
> > > > Drop ksyms if we've built without module support
> > > >
> > > > From: Zwane Mwaikambo <zwane@xxxxxxxxxxxxxxxx>
> > > > Subject: Re: 2.6.1-rc1-tiny2
> > >
> > > Other than saving a little compile time, does this actually do anything?
> > >
> > > I'm not against it, I just don't think I see the point.
> >
> > Well it obviously saves memory and image size too;
>
> Please measure it. It's not obvious to me at all.

Miniscule savings

text data bss dec hex filename
3221815 862456 0 4084271 3e522f vmlinux-before
3221591 862456 0 4084047 3e514f vmlinux-after

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/