summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-10-11 11:20:20 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2016-10-11 12:15:01 +0300
commit465350d0db06e280dfd7998392269358bba30813 (patch)
treebd825ce5354a3628d78ba6f75146ce401ef782da /include/linux
parent738bb80e3e3d7d8c0109c796ca5e7c4b6f1f558f (diff)
downloadlinux-465350d0db06e280dfd7998392269358bba30813.tar.xz
drm/i915: Remove self-harming shrink_all on get_pages_gtt fail
When we notice the system under memory pressure, we try to evict some driver pages before asking the VM to shrink all caches. As a final step in that process, we tried to evict everything, including active buffers. This is harming ourselves, and we can mix shrinking all caches as well as our residual buffers (after the first pass of trying to shrink just our own buffers). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161011082021.14606-1-chris@chris-wilson.co.uk
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions