Re: [RFC] NUMA futex hashing

Andi Kleen
2006-08-08T09:58:41Z

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