[Intel-gfx] [PATCH 4/4] drm/i915: Invalidate our pages under memory pressure
Chris Wilson
chris at chris-wilson.co.uk
Fri Apr 11 10:30:20 CEST 2014
On Tue, Mar 25, 2014 at 01:23:06PM +0000, Chris Wilson wrote:
> Try to flush out dirty pages into the swapcache (and from there into the
> swapfile) when under memory pressure and forced to drop GEM objects from
> memory. In effect, this should just allow us to discard unused pages for
> memory reclaim and to start writeback earlier.
>
> v2: Hugh Dickins warned that explicitly starting writeback from
> shrink_slab was prone to deadlocks within shmemfs.
>
> Cc: Hugh Dickins <hughd at google.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Good news! QA have declared that this series really does prevent the
random OOM where we have completely unused swap. So all it needs is
someone brave enough to review.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list