diff options
| author | Chris Wilson <[email protected]> | 2020-04-01 23:39:24 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-04-02 01:17:39 +0100 |
| commit | 9da0ea09639f35cb91c5f2c44a96d192dad112e1 (patch) | |
| tree | 05bf672e126634afdc94898f3db755f7a0fe04e9 /tools/perf/scripts/python/compaction-times.py | |
| parent | 0d86ee35097ae0f1c2c50f2b8035ef480e25e4f1 (diff) | |
drm/i915/gem: Drop cached obj->bind_count
We cached the number of vma bound to the object in order to speed up
shrinker decisions. This has been superseded by being more proactive in
removing objects we cannot shrink from the shrinker lists, and so we can
drop the clumsy attempt at atomically counting the bind count and
comparing it to the number of pinned mappings of the object. This will
only get more clumsier with asynchronous binding and unbinding.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions