Re: [PATCH] Move some variables into the "most_readonly" section??

From: Andi Kleen
Date: Tue Jun 14 2005 - 18:05:36 EST


On Tue, Jun 14, 2005 at 03:54:24PM -0700, christoph wrote:
> On Wed, 8 Jun 2005, Andi Kleen wrote:
>
> > However this means __cacheline_aligned_mostly_readonly doesnt make much
> > sense since there is no need for alignment in read only. How about
> > replacing it with a __mostly_readonly that doesnt align and remove
> > __cacheline_aligned_mostly_readonly?
>
> Hmm. No. The bigger cpu maps may benefit from cacheline alignment for
> even for read access.

Why? Can you please explain that. It doesn't make sense to me.

Any read only cache line should be freely shareable over all caches.

Thanks.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/