lkml.org 
[lkml]   [2009]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] FRV: Fix the section attribute on UP DECLARE_PER_CPU()

* David Howells <dhowells@redhat.com> wrote:

> Any idea what this:
>
> #define DEFINE_PER_CPU_SHARED_ALIGNED(type, name)
>
> is intended for?

it is a mixed type of percpu variable: which is per CPU but which
can (and will) also be accessed from other CPUs. This way we
basically cache-line align it and make sure nearby percpu variables
dont get caught up in any cacheline bounces. It was introduced a
couple of years ago.

Ingo


\
 
 \ /
  Last update: 2009-04-22 11:17    [W:0.122 / U:0.016 seconds]
©2003-2011 Jasper Spaans