Re: [PATCH 0/3] build system: section garbage collection for vmlinux

Denys Vlasenko
2007-09-05T19:14:33Z

On Wednesday 05 September 2007 19:38, Daniel Walker wrote:
> > > You version doesn't work with CONFIG_MODULES right?
> >
> > It works with CONFIG_MODULES.
>
> Really? Take a look at this version,
>
> http://lkml.org/lkml/2006/6/4/169
>
> Marcello had to implement a two pass build to add back symbol used in
> modules which got removed from the main kernel.. You don't appear to do
> that. Marcelo also claims better size reduction than you.

This will discard EXPORT_SYMBOLs potentially used by
out-of-tree modules.

I also saw ~10% size reductions, but then at run-time test modules
failed to load, they didn't find needed symbols.

OTOH if I know that I am not going to be using such modules,
then this can be done. Will require another CONFIG_xxx, though.
--
vda