Re: [patch] Cache align futex hash buckets
From: Andi Kleen
Date: Tue Feb 21 2006 - 09:42:20 EST
Andrew Morton <akpm@xxxxxxxx> writes:
>
> Well it's your architecture... As long as you're finding this to be a
> sufficiently large problem in testing to justify consuming a meg of memory
> then fine, let's do it.
I think it's a waste of memory even with 128 byte cache lines.
If it's really a big problem. Some more clever solution would be
better. e.g. allocate a hash table per node and use a hierarchical
hash, trying to put stuff into the local node first.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/