Re: [Intel-gfx] [PATCH 2/4] drm/i915: Include bound and active pages in the count of shrinkable objects

2014-05-19 Thread Barbalho, Rafael
-Original Message- From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of Chris Wilson Sent: Tuesday, March 25, 2014 1:23 PM To: intel-gfx@lists.freedesktop.org Cc: Hugh Dickins Subject: [Intel-gfx] [PATCH 2/4] drm/i915: Include bound and active pages in the

[Intel-gfx] [PATCH 2/4] drm/i915: Include bound and active pages in the count of shrinkable objects

2014-03-25 Thread Chris Wilson
When the machine is under a lot of memory pressure and being stressed by multiple GPU threads, we quite often report fewer than shrinker-batch (i.e. SHRINK_BATCH) pages to be freed. This causes the shrink_control to skip calling into i915.ko to release pages, despite the GPU holding onto most of