[Intel-gfx] [PATCH] drm/i915: Replace racy object bookkeeping

Daniel Vetter daniel at ffwll.ch
Sun Jul 21 13:18:05 CEST 2013


On Sun, Jul 21, 2013 at 09:57:04AM +0100, Chris Wilson wrote:
> Now that we track objects for their entire lifetime in a list, we can
> move the cost of the bookkeeping to the infrequent query of
> i915_gem_objects. This also removes the race where we would increment the
> global object count and size without holding any locks.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67121
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

I love it when I can check off items from my todo list simply by merging a
patch ;-) Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list