[Intel-gfx] [PATCH 03/23] drm/i915/gem: Drop forced struct_mutex from shrinker_taints_mutex

Andi Shyti andi at etezian.org
Thu Jul 2 22:24:31 UTC 2020


Hi Chris,

On Thu, Jul 02, 2020 at 09:32:05AM +0100, Chris Wilson wrote:
> Since we no longer always take struct_mutex around everything, and want
> the freedom to create GEM objects, actually taking struct_mutex inside
> the lock creation ends up pulling the mutex inside other looks. Since we
> don't use generally use struct_mutex, we can relax the tainting.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Looks good!

Reviewed-by: Andi Shyti <andi.shyti at intel.com>

Andi


More information about the Intel-gfx mailing list