Re: [PATCH] drm/i915/selftests: Free the backing store between iterations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17 July 2018 at 09:23, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx>
> Cc: Matthew Auld <matthew.william.auld@xxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.william.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux