From: Rebecca Schultz Zavin Date: Fri, 13 Dec 2013 22:24:39 +0000 (-0800) Subject: gpu: ion: Also shrink memory cached in the deferred free list X-Git-Tag: v3.14-rc1~150^2~412 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea313b5f88ed7119f79ad3f6b85e9620971b9875;p=pandora-kernel.git gpu: ion: Also shrink memory cached in the deferred free list When the system is low on memory, we want to shrink any cached system memory ion is holding. Previously we were shrinking memory in the page pools, but not in the deferred free list. This patch makes it possible to shrink both. It also moves the shrinker code into the heaps so they can correctly manage any caches they might contain. Signed-off-by: Rebecca Schultz Zavin [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed