Messages in this thread | | | Date | Thu, 5 Jan 2006 12:15:25 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers |
| |
On Thu, 5 Jan 2006, Linus Torvalds wrote: > > The cache effects are likely the biggest ones, and no, I don't know how > much denser it will be in the cache. Especially with a 64-byte one.. > (although 128 bytes is fairly common too).
Oh, but validatign things like "likely()" and "unlikely()" branch hints might be a noticeably bigger issue.
In user space, placement on the macro level is probably a bigger deal, but in the kernel we probably care mostly about just single cachelines and about branch prediction/placement.
Linus - 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/
| |