Re: [Intel-gfx] [PATCH 06/16] drm/i915: Move dev_priv->mm.[un]bound_list to its own lock

2017-08-12 Thread Chris Wilson
Quoting Chris Wilson (2017-08-12 11:26:08) > Quoting Joonas Lahtinen (2017-08-10 17:22:49) > > On ke, 2017-07-26 at 14:26 +0100, Chris Wilson wrote: > > > +++ b/drivers/gpu/drm/i915/i915_gem_shrinker.c > > > @@ -92,9 +92,6 @@ static bool swap_available(void) > > >   > > >  static bool

Re: [Intel-gfx] [PATCH 06/16] drm/i915: Move dev_priv->mm.[un]bound_list to its own lock

2017-08-10 Thread Joonas Lahtinen
On ke, 2017-07-26 at 14:26 +0100, Chris Wilson wrote: > Remove the struct_mutex requirement around dev_priv->mm.bound_list and > dev_priv->mm.unbound_list by giving it its own spinlock. This reduces > one more requirement for struct_mutex and in the process gives us > slightly more accurate