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

    * David Howells <> 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.


     \ /
      Last update: 2009-04-22 11:17    [W:0.025 / U:11.964 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site