Re: [rfc][patch] store-free path walking

From: Linus Torvalds
Date: Wed Oct 07 2009 - 16:54:20 EST




On Wed, 7 Oct 2009, Andi Kleen wrote:
>
> With some strategic prefetches it might be cheap enough to use
> two cache lines. Just fetch it with the other.

I _seriously_ doubt that.

This is one of the biggest (and hottest) hash tables in the whole kernel.

No amount of prefetching will help the fact that you effectively double
your cache footprint / working set if you have to fetch two cachelines in
the hot case lookup rather than one.

Linus
--
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/