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

From: christoph
Date: Mon Jun 27 2005 - 18:33:17 EST


On Fri, 17 Jun 2005, Anton Blanchard wrote:

> > I think it would be better to first still see numbers for
> > this questionable optimizations.
>
> Agreed, it would be nice to see some benchmark numbers.

Sorry seem to have lost track of this thread of thought.

These are optimizations that try to avoid false aliasing as
a result of the linker placing hot spots into the same cacheline. These
are not predictable per se. Some future patch may rearrange variables that
then produce another case of false aliasing.

In order to demonstrate the effect, I would need to be allowed to put
some hot variables into the same cacheline. And that seem to be pointless
because we all know the outcome.
-
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/