diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-21 10:09:53 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-21 17:32:17 +0000 |
commit | deeee411a97559096523f97655ff16da34cf0573 (patch) | |
tree | 0c242d3ed548fd44a82a26cf6af81c0fd271ae55 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 46129dc10f47c5c2b51c93a82b7b2aca46574ae0 (diff) |
drm/i915/gem: Break up long lists of object reclaim
Call cond_resched() between each freed object in case we have a really,
really long list, and we don't want to block normal processes.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200221100953.2587176-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions