On Thu, Feb 26, 2015 at 10:05:17AM +0000, Chris Wilson wrote:
> Combining list_del() with the list_for_each() is actually safe.

Sigh. It's not, the iterator disappears and so iter = iter->next is
unsafe (I was just thinking that the value of iter->next is left
untouched by list_del()). Time to go shopping.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to