On Tue, 12 Dec 2006, Matthew Wilcox wrote: > The original code and your rewrite both access memory twice in the loop. > Why don't we do it with one memory reference per loop instead? Because the the cmpxchg usually succeeds. It is rare that we have to redo the loop. - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |