Re: [PATCH] ia64: disable preemption in udelay()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux