]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: Register a shrinker to free inactive lists under memory pressure
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Sep 2009 15:50:28 +0000 (16:50 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 17 Sep 2009 21:43:31 +0000 (14:43 -0700)
commit31169714fc928aed4e945b959dca2bedd259b9c9
tree3cd6aa12bd7da1e4202607597b3baf9a07f48290
parent725ceaa08a98fcdb1ec1c302700e33b629aece4b
drm/i915: Register a shrinker to free inactive lists under memory pressure

This should help GEM handle memory pressure sitatuions more gracefully.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c