summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorChris Wilson2016-04-04 15:46:41 +0200
committerChris Wilson2016-04-05 12:11:16 +0200
commit6f0ac2047a86a0ce3d75227f8b83e84d0a2f993d (patch)
tree53b5bb3bc9aaba073e2dce7f6e63f5d1e47b94c1 /mm/vmalloc.c
parentdrm/i915/chv: add more IOSF port definitions (diff)
downloadkernel-qcow2-linux-6f0ac2047a86a0ce3d75227f8b83e84d0a2f993d.tar.gz
kernel-qcow2-linux-6f0ac2047a86a0ce3d75227f8b83e84d0a2f993d.tar.xz
kernel-qcow2-linux-6f0ac2047a86a0ce3d75227f8b83e84d0a2f993d.zip
drm/i915/shrinker: Account for unshrinkable unbound pages
Since we only attempt to purge an object if can_release_pages() report true, we should also only add it to the count of potential recoverable pages when can_release_pages() is true. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Akash Goel <akash.goel@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1459777603-23618-2-git-send-email-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions