On Wed, Mar 31, 2010 at 10:38:36AM -0700, Paul E. McKenney wrote:
Right. When using RCU, list_for_each_entry_safe_rcu() is not needed,
because destruction of the element you removed doesn't happen until the
end of a subsequent grace period. By which time you will be done with
your RCU read-side critical section.
So you can just use list_for_each_entry_rcu(), you do not need a new
list_for_each_entry_safe_rcu().
But you did have me going for a bit!!! ;-)
Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html