video: tegra: nvmap: Add carveout killer
authorRebecca Schultz Zavin <rebecca@android.com>
Fri, 3 Dec 2010 23:43:33 +0000 (15:43 -0800)
committerRebecca Schultz Zavin <rebecca@android.com>
Mon, 10 Jan 2011 20:37:27 +0000 (12:37 -0800)
commit0479121df7422847b91a36e93112dc6cc5388775
tree4abfe81e4e00d3ab748fe4b7c8cc3bbfb3d79bca
parent962feda6df4542dfae908df64504c8e8046db1d4
video: tegra: nvmap: Add carveout killer

This change attempts to reclaim carveout memory by killing
other carveout users when an allocation fails.  Processes
are killed in order of priority from lowest to highest, and then
from largest to smallest users.

Change-Id: Iee8a6f36269bc8165d691000a153dbf9f4337775
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/video/tegra/Kconfig
drivers/video/tegra/nvmap/nvmap_dev.c