> >I think they can both be updated with read-modify-write: > > > >P' = P + D_n + D_n' > >Q' = Q + g^n * D_n + g^n * D_n' > > It's not a matter of cache-trashing, it's a matter of the fact that very > few CPUs have any form of parallel table lookup. It could be done with > dynamic code generation, but that's a whole ball of wax on its own. Why dynamic? Are there problems with just pregenerating all 256 optimized codepaths? -jim - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html