lkml.org 
[lkml]   [2005]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] Reduce number of pointer derefs in various files (kernel/exit.c used as example)

* Jesper Juhl <jesper.juhl@gmail.com> wrote:

> Ohh, and before I forget, besides the fact that this should speed
> things up a little bit it also has the added benefit of reducing the
> size of the generated code. The original kernel/exit.o file was 19604
> bytes in size, the patched one is 19508 bytes in size.

nice. Just to underline your point, on x86, with gcc 4.0.2, i'm getting
this with your patch:

text data bss dec hex filename
11077 0 0 11077 2b45 exit.o.orig
10997 0 0 10997 2af5 exit.o

so 80 bytes shaved off. I think such patches also increase readability.

Acked-by: Ingo Molnar <mingo@elte.hu>

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-06 23:17    [W:1.993 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site