Re: [Intel-gfx] [PATCH] drm/i915: Keep the mm.bound_list in rough LRU order

2015-07-28 Thread Daniel Vetter
On Mon, Jul 27, 2015 at 10:26:26AM +0100, Chris Wilson wrote: > When we shrink our working sets, we want to avoid stealing pages from > objects that likely to be reused in the near future. We first look at > inactive objects before processing active objects - but what about a > recently active obje

[Intel-gfx] [PATCH] drm/i915: Keep the mm.bound_list in rough LRU order

2015-07-27 Thread Chris Wilson
When we shrink our working sets, we want to avoid stealing pages from objects that likely to be reused in the near future. We first look at inactive objects before processing active objects - but what about a recently active object that is about to be used again. That object's position in the bound