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

Adrian Bunk
2007-09-06T21:20:05Z

On Thu, Sep 06, 2007 at 11:16:15PM +0200, Oleg Verych wrote:
> * Thu, 6 Sep 2007 22:39:31 +0200
>
> []
> >> > His patch improves the build process.
> >>
> >> I would like to know timing, btw. Size, especially shown 1%, doesn't
> >> matter if link time increased dramatically. `Allyes' config, when i
> >> had fast and rammish machine was terrible thing (last winter). If 32
> >> cores/cpus is will of author, then i'm even more suspicious.
> >
> > For non-developers size and speed of the kernel matter much more than
> > compile time.
>
> I'm talking about benefits for the process (developers, testers) and
> the result (end users, dogs eating own food :).

Your claim was that link time was more important than code size, and
that claim is in many cases wrong.

> > When you go towards embedded systems with limited resources a 1% size
> > decrease would often be worth it even if it would (hypothetically)
> > increase the compile time by a factor of 10.
>
> text data bss dec hex filename
> 5159478 1005139 406784 6571401 644589 linux-2.6.23-rc4.org/vmlinux
> 5131822 996090 401439 6529351 63a147 linux-2.6.23-rc4.gc/vmlinux
>
> Are this numbers show embedded target? I think no. Also time factor of
> *10* can be spent more productively reviewing actual code of parts, that
> are going to be embedded, no?

First of all, please lookup the word "hypothetically" in a dictionary.

And code review and Denys' patch have cumulative effects since his patch
results in improvements that can't be resonably done other than at
the ld and/or gcc level.

> []
> >> > There's nothing that requires treatment.
> >>
> >> [Help for] The developers/contributors of those drivers, no?
> >>...
> >
> > They did everything right.
> >
> > You should better try to understand the problem first before behaving as
> > if you knew everything better than everyone else...
>
> OK, thank you very much. Now, describe what problem you are talking
> about, please. I see non.

If you don't understand what the patches in this thread are about then
you shouldn't have started commenting on this thread...

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed