[Intel-gfx] [PATCH 22/38] drm/gem/shrinker: Wait before acquiring struct_mutex under oom
Chris Wilson
chris at chris-wilson.co.uk
Wed Jun 8 10:04:01 UTC 2016
On Wed, Jun 08, 2016 at 11:57:21AM +0200, Daniel Vetter wrote:
> On Fri, Jun 03, 2016 at 05:55:37PM +0100, Chris Wilson wrote:
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
>
> Shouldn't we only do this as a last resort, i.e. in the oom notifier?
> Commit message is a bit sparse on the motivation here ;-)
i915_gem_shrinker_lock_uninterruptible is last resort.
Movitivation is a bit lacking since there isn't much more we can do to
prevent oom right now.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list