Re: [Intel-gfx] [PATCH 1/2] drm/i915/gem: Avoid rcu_barrier() from shrinker paths

2019-12-09 Thread Matthew Auld
On Sun, 8 Dec 2019 at 16:13, Chris Wilson wrote: > > As i915_gem_object_unbind() waits on an rcu_barrier() to flush vm > releases (and destruction of their bound vma), we have to be careful not > to invoke that barrier from beneath the shrinker: > > <4> [430.222671] WARNING: possible circular lock

[Intel-gfx] [PATCH 1/2] drm/i915/gem: Avoid rcu_barrier() from shrinker paths

2019-12-08 Thread Chris Wilson
As i915_gem_object_unbind() waits on an rcu_barrier() to flush vm releases (and destruction of their bound vma), we have to be careful not to invoke that barrier from beneath the shrinker: <4> [430.222671] WARNING: possible circular locking dependency detected <4> [430.222673] 5.4.0-rc8-CI-CI_DRM_