[Intel-gfx] [PATCH] drm/i915/shrinker: Refactor common uninterruptible locking
Chris Wilson
chris at chris-wilson.co.uk
Tue Apr 5 10:59:41 UTC 2016
On Tue, Apr 05, 2016 at 01:02:14PM +0300, Joonas Lahtinen wrote:
> On ti, 2016-04-05 at 10:22 +0100, Chris Wilson wrote:
> > Both the oom and vmap notifier callbacks have a loop to acquire the
> > struct_mutex and set the device as uninterruptible, within a certain
> > time. Refactor the common code into a pair of functions.
> >
> > Suggested-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
>
> Looks good.
>
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Thanks for all the review, pushed. Now on to stage 2.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list