gpu: ion: Fix several issues with page pool
authorRebecca Schultz Zavin <rebecca@android.com>
Tue, 9 Oct 2012 06:01:23 +0000 (23:01 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:10 +0000 (14:16 -0700)
commit7cc23d4c71227b9d0b4d4168c4b57ed31e015513
tree475434dc49521f9be6ee626db55d04351dbffbb5
parentabbfb7cc1cec8018615a636c46d4a9e94d97aa22
gpu: ion: Fix several issues with page pool

Split out low and high mem pages so they are correctly reported
when the shrinker is called.
Fix potential deadlock caused by holding the page pool lock while
allocationg and also needing that lock from the shrink function

Change-Id: I6def3a3111f59914ef6b5b59d81a6fde37cb60c5
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/gpu/ion/ion_page_pool.c
drivers/gpu/ion/ion_priv.h
drivers/gpu/ion/ion_system_heap.c