• Shaohua Li's avatar
    percpu: Introduce a read-mostly percpu API · c957ef2c
    Shaohua Li authored
    Add a new readmostly percpu section and API.  This can be used to
    avoid dirtying data lines which are generally not written to, which is
    especially important for data which may be accessed by processors
    other than the one for which the percpu area belongs to.
    
    [ hpa: moved it *after* the page-aligned section, for obvious
      reasons. ]
    Signed-off-by: default avatarShaohua Li <shaohua.li@intel.com>
    LKML-Reference: <1287544022.4571.7.camel@sli10-conroe.sh.intel.com>
    Cc: Eric Dumazet <eric.dumazet@gmail.com>
    Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
    c957ef2c
percpu-defs.h 5.72 KB