Re: [Intel-gfx] [PATCH] drm/i915: optionally disable shrinker lock stealing

2012-12-19 Thread Chris Wilson
On Wed, 19 Dec 2012 13:08:35 +0100, Daniel Vetter wrote: > commit 5774506f157a91400c587b85d1ce4de56f0d32f6 > Author: Chris Wilson > Date: Wed Nov 21 13:04:04 2012 + > > drm/i915: Borrow our struct_mutex for the direct reclaim If you choose to take this path, do it as two patches so t

[Intel-gfx] [PATCH] drm/i915: optionally disable shrinker lock stealing

2012-12-19 Thread Daniel Vetter
commit 5774506f157a91400c587b85d1ce4de56f0d32f6 Author: Chris Wilson Date: Wed Nov 21 13:04:04 2012 + drm/i915: Borrow our struct_mutex for the direct reclaim added a nice trick to steal the struct_mutex lock in the shrinker if it's the current task holding it. But this also caused the