lkml.org 
[lkml]   [2009]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH UPDATED] percpu: use dynamic percpu allocator as the default percpu allocator
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.







\
 
 \ /
  Last update: 2009-04-02 05:37    [from the cache]
©2003-2011 Jasper Spaans