[Intel-gfx] [PATCH 3/3] drm/i915: Ratelimit request allocation under oom
Chris Wilson
chris at chris-wilson.co.uk
Wed Dec 13 11:25:28 UTC 2017
Quoting Joonas Lahtinen (2017-12-13 11:18:42)
> On Tue, 2017-12-12 at 18:06 +0000, Chris Wilson wrote:
> > If we fail to allocate a request, we can reap the outstanding requests
> > and push them to the request's slab's freelist before trying again. This
> > forces us to ratelimit malicious clients that tie up all of the system
> > resources in requests, instead of causing a system-wide oom.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
>
> Maybe throw a Testcase: here?
Testcase: igt/gem_shrink/execbuf1
-Chris
More information about the Intel-gfx
mailing list