On Sunday 22 July 2007 01:16:42 Oleg Verych wrote:
> * From: Andi Kleen <[email protected]>
> * Date: Thu, 19 Jul 2007 11:54:53 +0200 (CEST)
> >
> > Jan asked to always use the builtin memcpy on gcc 4.3 mainline because
> > it should generate better code than the old macro. Let's try it.
>
> Unfortunately such info is hard to find. The discuss@x86-64 list is
> empty. So, let me ask how this memcpy relates to recently submitted
> for glibc one [0]?
It doesn't relate at all. The kernel still uses its own memcpy.
Note that a lot of the traditional memcpy optimizations (like WC copies)
are pointless in kernel space because the kernel rarely deals with continuous
memory areas larger than a 4K page.
The only difference from the patch is that instead of using an own
heuristic when to use an out of line memcpy trust gcc's heuristic.
-Andi
-
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]