[Intel-gfx] [PATCH] drn/i915: Break up long i915_buddy_free_list() with a cond_resched()
Matthew Auld
matthew.william.auld at gmail.com
Mon Dec 30 12:01:53 UTC 2019
On Sat, 21 Dec 2019 at 14:49, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> In the selftests, we may feed very long lists of blocks to be freed on
> culmination of the tests. This coupled with kasan and other
> malloc-tracing can make the kmem_cache_free() operation time consuming,
> and doing many of time trigger soft lockup warnings. Break the list up
> with a cond_resched().
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
More information about the Intel-gfx
mailing list