lkml.org 
[lkml]   [2010]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [tip:x86/mm] percpu: Introduce a read-mostly percpu API
    From
    Date
    Le mercredi 20 octobre 2010 à 22:54 -0700, H. Peter Anvin a écrit :

    > L1_CACHE_BYTES is completely pointless, since if there is sharing to
    > worry about *at all*, it's probably at the L2 or L3 cache levels.
    >

    I see, and we dont have better way to express this hint/requirement than
    using PAGE_SIZE or INTERNODE_CACHE_SHIFT ?

    In your patch you force a PAGE_SIZE alignement *before*
    *(.data..percpu..page_aligned)

    If this alignment is really needed, this should be part of another
    patch, since this fixes a previous bug in 2.6.36 ?



    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2010-10-21 08:11    [W:0.020 / U:148.168 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site