Re: [PATCH 2/3] drm/i915: Allow fence allocations to fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Joonas Lahtinen (2017-12-13 11:15:23)
> On Tue, 2017-12-12 at 18:06 +0000, Chris Wilson wrote:
> > If a fence allocation fails in a blocking context, we will sleep on the
> > fence as a last resort. We can therefore allow ourselves to fail and
> > sleep on the fence instead of triggering a system-wide oom. This allows
> > us to throttle malicious clients that are consuming lots of system
> > resources by capping the amount of memory used by fences.
> > 
> > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
> 
> Claim checks out,
> 
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

Testcase: igt/gem_shrink/execbufX
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux