diff options
author | 2016-07-01 17:23:10 +0100 | |
---|---|---|
committer | 2016-07-01 20:42:27 +0100 | |
commit | bed50aea61df4e62395620795079f0e7a3876723 (patch) | |
tree | ef35fb97c5c6a95152b5d0b5107025ac22edddba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/bxt: Remove the preliminary_hw_support flag (diff) | |
download | wireguard-linux-bed50aea61df4e62395620795079f0e7a3876723.tar.xz wireguard-linux-bed50aea61df4e62395620795079f0e7a3876723.zip |
drm/i915/shrinker: Flush active on objects before counting
As we inspect obj->active to decide how many objects we can shrink (we
only shrink idle objects), it helps to flush the active lists first
in order to have a more accurate count of available objects.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467390209-3576-1-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions