video: tegra: nvmap: Several fixes to the carveout killer
authorRebecca Schultz Zavin <rebecca@android.com>
Thu, 13 Jan 2011 00:22:36 +0000 (16:22 -0800)
committerRebecca Schultz Zavin <rebecca@android.com>
Thu, 13 Jan 2011 01:37:17 +0000 (17:37 -0800)
commit5be6f571ae59b681eac6f3916cd102e4765ec85c
tree92f9862875df7217447e143436efdf334fe3ef72
parent683d3f2a8f3df1547715f784e6fde0a67d7c261a
video: tegra: nvmap: Several fixes to the carveout killer

-Modify the carveout killer to only kill tasks with lower priorities
than the one that's trying to allocate
-After delivering a sigkill to a task, wait for something to exit and
cleanup before retrying the allocation

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