On Thu, 12 Jun 2003, Dipankar Sarma wrote:
>
> That should work. However, I do have once concern. At the generic
> list macro level, we don't know if the lockfree traversal is being
> done in forward or backward direction.
Sure we do. We do have backwards list traversal, but it's already not
available for the RCU case (ie we have "list_for_each_entry_rcu()", but we
don't have "list_for_each_entry_reverse_rcu()").
Of course, somebody may be using the non-RCU versions of the list
traversal macros on a RCU list, but that would be a bug anyway.
Linus
-
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/
This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:32 EST