On Thu, Aug 18, 2005 at 02:58:28PM +1000, Benjamin Herrenschmidt wrote: > I wonder if it's finally time to implement proper race free list > iterators in the kernel. Not that difficult... A small struct iterator > with a list head and the current elem pointer, and the "interated" list > containing the list itself, a list of iterators and a lock. Iterators > can then be "fixed" up on element removal with a fine grained lock on > list structure access.
Pat tried to do that with klist, but people seem to think it's still racy in some corner cases. Have you looked at them? thanks, greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/