lkml.org 
[lkml]   [2006]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] i386: use C code for current_thread_info()
Date
On Sunday 11 June 2006 20:42, Jan Engelhardt wrote:
> >Using C code for current_thread_info() lets the compiler optimize it.
> >With gcc 4.0.2, kernel is smaller:
> >
> > text data bss dec hex filename
> > 3645212 555556 312024 4512792 44dc18 2.6.17-rc6-nb-post/vmlinux
> > 3647276 555556 312024 4514856 44e428 2.6.17-rc6-nb/vmlinux
> > -------
> > -2064
>
> If possible, can you or someone post the results for x86_64?

Patch is for i386, x86_64's current_thread_info() is already C.

--
Cheers,
Alistair.

Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
-
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: 2006-06-11 22:48    [from the cache]
©2003-2011 Jasper Spaans