Messages in this thread | | | Date | Wed, 22 Apr 2009 11:12:26 +0200 | From | Ingo Molnar <> | Subject | Re: [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
| |