Re: [PATCH UPDATED] percpu: use dynamic percpu allocator as thedefault percpu allocator

From: Christoph Lameter
Date: Wed Apr 01 2009 - 23:34:14 EST


On Thu, 2 Apr 2009, Ingo Molnar wrote:

> You didnt really answer to my suggestion(s) though. You only stated
> that:
>
> "problem XYZ is something normal that comes with the cpu caching
> schemes. As long as there is no significant impact on
> performance weare fine with it."
>
> Which i'd proffer is true for any given value of XYZ ;-)

Nope. If XYZ is a significant performance issue then we are not fine with
XYZ. __read_mostly was introduced to deal with signficant false aliasing
issues.

False aliasing can be set to occur anytime you place two variables in the
same cacheline. That is by design in the current cacheline schemes. One
would not place a variable in a separate cacheline without good
reason.





--
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/