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

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


Hi,

On Mon, 13 Feb 2006, Ingo Molnar wrote:

> > [...] and this patch doesn't break anything either.
>
> your patch makes code larger on gcc3. Please investigate why.

The size change can actually go either way:

@@ -1826,7 +1826,7 @@
00000000 w F .text 00000006 sys_mq_timedsend
00000000 *UND* 00000000 __per_cpu_offset
00000000 *UND* 00000000 cpu_gdt_descr
-00000000 g F .text 0000004f posix_cpu_clock_getres
+00000000 g F .text 00000049 posix_cpu_clock_getres
00000000 g F .text 00000006 do_posix_clock_nonanosleep
00000000 g F .text 00000020 idle_cpu
00000000 g F .text 00000030 sys_chown16
@@ -2081,7 +2081,7 @@
00000000 w F .text 00000006 sys_epoll_ctl
00000000 g F .text 00000005 sys_syslog
00000000 *UND* 00000000 cap_capset_check
-00000000 g F .text 00000246 posix_cpu_nsleep
+00000000 g F .text 00000251 posix_cpu_nsleep
00000000 g F .text 000000c6 sysctl_jiffies
00000000 g F .text 0000002e __wake_up_locked
00000000 *UND* 00000000 module_arch_cleanup

The const _is_ bogus.

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/