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@xxxxxxxxxx> > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx