Quoting Tvrtko Ursulin (2019-03-26 10:06:37) > > On 22/03/2019 09:21, Chris Wilson wrote: > > +static void single(int i915) > > +{ > > + const uint32_t bbe = MI_BATCH_BUFFER_END; > > + uint64_t batch_size, limit; > > + uint32_t handle; > > + void *ptr; > > + > > + batch_size = (intel_get_avail_ram_mb() - 128) << 20; /* CI slack */ > > Slack big enough? Sounds risky.. How big is Java? Bigger than you can possibly imagine. Why is it running during igt? CI only know. I have no idea, avail_ram_mb() is meant to be able to say how much memory we could use, but then Java keeps on stealing more. We could mlock it I guess, but the end result is the same, Java is forced into swap and we risk page allocation failures. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx