[Intel-gfx] [PATCH] drm/i915/selftests: Free the backing store between iterations

Matthew Auld matthew.william.auld at gmail.com
Tue Jul 17 08:29:00 UTC 2018


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>


More information about the Intel-gfx mailing list