Re: [patch 0/4] Series to allow a "const" file_operations struct

Arnd Bergmann
2006-01-07T01:01:18Z

Am Samstag, 7. Januar 2006 01:29 schrieb Andrew Morton:
> > size vmlinux*
> >     text    data     bss     dec     hex filename
> > 2476156  522236  244868 3243260  317cfc vmlinux
> > 2588685  571348  246692 3406725  33fb85 vmlinux.old
>
> Confused.   Why should this result in an aggregate reduction in vmlinux
> size?

The size tool only displays the sum of .text, .data and .bss, but completely
ignores other sections. So if you manage to move part of the object e.g.
into .rodata or .initdata, it will show a smaller size although the size of
the actual vmlinux file stays the same.

Erics point was just about .data getting smaller, not about the bogus sum.