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

From: Arnd Bergmann
Date: Fri Jan 06 2006 - 19:59:58 EST


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.

Arnd <><
-
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/