[Intel-gfx] [PATCH igt] igt/gem_shrink: Exercise allocations in the middle of execbuf under oom-pressure

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 13 11:42:30 UTC 2017


Quoting Joonas Lahtinen (2017-12-13 11:30:22)
> On Tue, 2017-12-12 at 21:43 +0000, Chris Wilson wrote:
> > Having discovered that we would encounter an indefinite wait in the
> > shrinker within execbuf/request construction, try to exercise that path
> > by emitting lots of execbuf with fences (which require allocation inside
> > request construction) whilst under severe mempressure.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> 
> Mostly surprised we didn't have this test already :)

I dread how little we probably have coverage for. (Back to dreaming
about injecting code via bpf and fuzzing.)

> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Ta,
-Chris


More information about the Intel-gfx mailing list