diff options
| author | Chris Wilson <[email protected]> | 2019-12-21 14:49:17 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-12-30 12:10:38 +0000 |
| commit | a9e395a4ab795e6f96961ba6d0620f91b2dce9a0 (patch) | |
| tree | c573068208135f10652ae61b7ef1c5a2d38866d3 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | a3d9382bd439e7be1858abc3d5f014dd55913448 (diff) | |
drn/i915: Break up long i915_buddy_free_list() with a cond_resched()
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 those trigger soft lockup warnings. Break the list up
with a cond_resched().
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions