[lkml]   [2007]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: [PATCH 0/2] Add percpu smp cacheline align section
    On Mon, May 07, 2007 at 10:30:16AM -0700, Christoph Lameter wrote:
    > Call this area "cpu shared" or so?

    There are some fields in percpu section which are accessed by other
    cpu's but not cache line aligned, e.g. cpu_idle_state, flush_state in
    x86-64. We don't want to place those fields into same subsection as
    cacheline aligned fields.

    So perhaps, I can change the section name
    .data.percpu.cacheline_aligned_in_smp to
    .data.percpu.shared_cacheline_aligned. And change macro

    .data.percpu.shared_cacheline_aligned contains only cpu shared percpu
    fields which are cacheline aligned. In future (or in a separate patch
    series), we can define another percpu section .data.percpu.shared and
    its macro DEFINE_PER_CPU_SHARED_CACHELINE_ALIGNED which store all of cpu
    shared percpu fields. The new .data.percpu.shared and
    DEFINE_PER_CPU_SHARED_CACHELINE_ALIGNED are for better coding and


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-05-07 20:17    [W:0.022 / U:0.828 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site