tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: __read_mostly and __mp_friendly annotations



Matt Fleming <matt%console-pimps.org@localhost> wrote:
> On Sun, 23 May 2010 12:20:15 +0200, Martin Husemann 
> <martin%duskware.de@localhost>
> wrote:
> > Looks good, but the __mp_friendly name is not quite obvious. Why not call
> > it __cacheline_aligned?
> 
> I could have sworn that I called it that originally, but maybe not. I
> definitely think __cacheline_aligned is a better name.
> 
> I'll make the modifications before I commit.

Right, or just __cacheline, since it provides not only alignment.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index