[Intel-gfx] [PATCH] drm/i915/selftests: Free the backing store between iterations
Chris Wilson
chris at chris-wilson.co.uk
Tue Jul 17 09:31:31 UTC 2018
Quoting Matthew Auld (2018-07-17 09:29:00)
> On 17 July 2018 at 09:23, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > In the huge pages tests, we may have lots of objects being trapped on
> > the freelist as we hold the struct_mutex allowing the free worker no
> > opportunity to recover the backing store. We also have stricter
> > requirements and the desire for large contiguous pages, further
> > increasing the allocation pressure. To reduce the chance of running out
> > of memory, we could either drop the mutex and flush the free worker, or
> > we could release the backing store directly. We do the latter in this
> > patch for simplicity.
> >
> > References: https://bugs.freedesktop.org/show_bug.cgi?id=107254
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Matthew Auld <matthew.william.auld at gmail.com>
> Reviewed-by: Matthew Auld <matthew.william.auld at gmail.com>
Thanks, and applied in the hope that the bug never reoccurs. There is
still a chance that the system doesn't have any large pages to give us,
even before the test runs.
-Chris
More information about the Intel-gfx
mailing list