commit | eae2c43b1233f81f594d1eb5fd06b897bb18b629 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Apr 08 12:11:12 2016 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Apr 11 17:12:16 2016 +0100 |
tree | dfeadbf492274ae9c31ccc6918152c2c52fd9795 | |
parent | 0a798eb92e6dcc1cba45d13d7b75a523e5d0fc4c [diff] |
drm/i915/shrinker: Restrict vmap purge to objects with vmaps When called because we have run out of vmap address space, we only need to recover objects that have vmappings and not all. v2: Start using is_vmalloc_addr() Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1460113874-17366-5-git-send-email-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>