On Wed, 15 Jun 2005, Andi Kleen wrote:
> > If these maps would start in the middle of a cacheline then additional
> > cacheline fetches may become necessary to scan an array etc.
>
> But the CPUs do prefetching anyways for that. Do you have numbers
> that this is actually worth it?
Its not only for scanning an array. A struct may contains a lot of
related information like for example boot_cpu_data. Aligning
increases locality and the likelyhood that no additional cachelines have
to be fetched.
-
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]