[Intel-gfx] [PATCH 3/3] drm/i915: Ratelimit request allocation under oom
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Wed Dec 13 11:18:42 UTC 2017
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?
Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
More information about the Intel-gfx
mailing list