[Intel-gfx] [PATCH 1/2] drm/i915: Remove self-harming shrink_all on get_pages_gtt fail
Michał Winiarski
michal.winiarski at intel.com
Mon Oct 10 12:52:01 UTC 2016
On Mon, Oct 10, 2016 at 12:49:58PM +0100, Chris Wilson wrote:
> 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).
Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>
-Michał
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
> drivers/gpu/drm/i915/i915_gem.c | 1 -
> 1 file changed, 1 deletion(-)
More information about the Intel-gfx
mailing list