[Intel-gfx] [PATCH] drm/i915: Mark up obj->mm.lock for shrinker

Chris Wilson chris at chris-wilson.co.uk
Tue Nov 1 09:15:28 UTC 2016


On Tue, Nov 01, 2016 at 11:10:31AM +0200, Joonas Lahtinen wrote:
> On ma, 2016-10-31 at 12:40 +0000, Chris Wilson wrote:
> As discussed in IRC, I think we rather should add a lock class to
> obj->mm, to avoid chasing these in the future.

All ears :) The complicated one isn't obj->mm, but the timeline->lock.
That we may do engine1->tl->lock, engine2->tl->lock, request->tl->lock,
so far.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list