lkml.org 
[lkml]   [2005]   [Dec]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 16 Dec 2005 09:20:00 +0100
FromChristian Hildner <>
SubjectRe: [PATCH] ia64: disable preemption in udelay()
Luck, Tony schrieb:

>Moving the current slim-line udelay() out of line would save 41 Kbytes
>of text in the generic vmlinux, plus making any modules that use
>udelay smaller too. Savings run from a 128-160 bytes for drivers
>with just one call to a max of 9 Kbytes for qla2xxx.ko.
>
Tony,

we should really take the chance to make the kernel smaller since we
don't have to become active to make it bigger. This happens every day by
itself. Furthermore I'd guess that for the current and future IA64
implementations we might even win performance by having functions out of
line since we have a really fast call mechanism here. Of course any
difference heavily depends on the cache utilization so there would be
some benchmark needed. At least for the udelay the answer is easy and
must be "do it out of line".
Did anyone already run a benchmark for comparison of inline vs. out of
line for IA64? Or does anybody want to do it?

Christian

-
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-16 09:23    [from the cache]
©2003-2009