[Intel-gfx] [PATCH 08/15] drm/i915: Mark up vma->active as safe for use inside shrinkers
Matthew Auld
matthew.auld at intel.com
Wed Jul 3 10:53:59 UTC 2019
On 03/07/2019 10:17, Chris Wilson wrote:
> Since a shrinker may be forced to wait on GPU activity,
> i915_active_wait(&vma->active) must be safe for use inside a shrinker,
> and so let's mark up the lock as being acquired by the shrinker to avoid
> any nasty surprises creeping in.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
More information about the Intel-gfx
mailing list