... and dcache RCU checks d_bucket and d_move_count too in the hash
walking loop.
> On 64-byte systems, d_parent and d_hash will be on the same line, but
> d_name is still on a separate line and d_name.hash gets checked before
> d_parent. So bringing these three fields on to the same cacheline
> would theoretically be a win.
Ok you're right. Optimizing the layout a bit would be probably a good
idea. I won't include it in the hash patchkit for now to not do too
many things with the same patch.
-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/