On Sun, 20 May 2007, Nick Piggin wrote:

> I _am_ considering the average case, and I consider the aligned structure
> is likely to win on average :) I just don't have numbers for it yet.

I'd be glad too if you could get some numbers. I did some benchmarking a 
few weeks ago on x86_64 and I found only a very minimal performance drop 
if the calculation was simplified. 

Note also that a smaller structure means that more page structs can be 
covered by a certain amount of cachelines. Doing the alignment may cause 
more cacheline misses.

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

Reply via email to