On Thu, 30 Sep 2010 09:10:26 +0100, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote: > In order to be fully threadsafe we need to check that the drm_gem_object > refcount is still 0 after acquiring the mutex in order to call the free > function. Otherwise, we may encounter scenarios like: [snip] > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30454 > Reported-by: Magnus Kessler <Magnus.Kessler@xxxxxxx> > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Dave Airlie <airlied@xxxxxxxxxx> > Cc: stable@xxxxxxxxxx Reported-and-tested-by: Magnus Kessler <Magnus.Kessler@xxxxxxx> -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel