lkml.org 
[lkml]   [2006]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC] NUMA futex hashing
    From
    Date
    Jes Sorensen <jes@sgi.com> writes:
    >
    > Using that argument, all you need to do is to add the alignment
    > ____cacheline_aligned_in_smp to the definition of
    > struct futex_hash_bucket and the problem is solved, given that the
    > internode cacheline in a NUMA system is defined to be the same as the
    > SMP cacheline size.

    Yes but it would waste quite a lot of memory and cache.
    Wasted cache = slow.

    -Andi
    -
    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: 2006-08-08 12:03    [from the cache]
    ©2003-2014 Jasper Spaans. hosted at Digital Ocean