Re: [Intel-gfx] [PATCH v2 1/3] drm/i915/shrinker: Account for unshrinkable unbound pages

2016-04-05 Thread Joonas Lahtinen
On ma, 2016-04-04 at 14:46 +0100, Chris Wilson wrote: > Since we only attempt to purge an object if can_release_pages() report > true, we should also only add it to the count of potential recoverable > pages when can_release_pages() is true. > > Signed-off-by: Chris Wilson > Cc: Joonas Lahtinen

[Intel-gfx] [PATCH v2 1/3] drm/i915/shrinker: Account for unshrinkable unbound pages

2016-04-04 Thread Chris Wilson
Since we only attempt to purge an object if can_release_pages() report true, we should also only add it to the count of potential recoverable pages when can_release_pages() is true. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Tvrtko Ursulin Cc: Akash Goel --- drivers/gpu/drm/i915/i915