Re: [PATCH 02/13] hrtimer: remove useless const

From: Roman Zippel
Date: Mon Feb 13 2006 - 07:07:49 EST


Hi,

On Mon, 13 Feb 2006, Ingo Molnar wrote:

> > That would would be a compiler problem, these const _are_ bogus.
>
> code size is really important for the ktime ops, so i'd keep the consts
> for the time being. In any case, it's definitely not a 2.6.16 change.

I checked with gcc-3.3 and before the patch:

$ size kernel/built-in.o
text data bss dec hex filename
197342 48061 44896 290299 46dfb kernel/built-in.o

After the patch:

$ size kernel/built-in.o
text data bss dec hex filename
197346 48061 44896 290303 46dff kernel/built-in.o

Impressive savings...

bye, Roman
-
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/