summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-07-17 09:23:34 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-07-17 10:28:03 +0100
commitd778847208c016f66a44d4c40baa74ca3bf724fd (patch)
tree0be1cd8f0195aa17135fcd1130560f90df73eab2 /security
parenteb5f43d45b3b3c239b9ca0fde6eee11244a57346 (diff)
downloadlinux-d778847208c016f66a44d4c40baa74ca3bf724fd.tar.bz2
drm/i915/selftests: Free the backing store between iterations
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@chris-wilson.co.uk> Cc: Matthew Auld <matthew.william.auld@gmail.com> Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180717082334.18774-1-chris@chris-wilson.co.uk
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions