summaryrefslogtreecommitdiff
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-07-01 17:23:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-07-01 20:42:27 +0100
commitbed50aea61df4e62395620795079f0e7a3876723 (patch)
treeef35fb97c5c6a95152b5d0b5107025ac22edddba /mm/migrate.c
parentc73930266d3b060d0ff0832b71caad95ac09b4a6 (diff)
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 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions