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. Change-Id: I177f587f999a5220eddbf7af94745aae736cac75 Signed-off-by:Rebecca Schultz Zavin <rebecca@android.com> Git-commit: 072beca55150c0c0b652bbb24267da271e0bdf19 Git-repo: https://android.googlesource.com/kernel/common [mitchelh@codeaurora.org: minor context fixups due to MSM changes] Signed-off-by:
Mitchel Humpherys <mitchelh@codeaurora.org>
Loading
Please register or sign in to comment