gpu: ion: Switch to using kmalloc rather than kmap during allocation
authorRebecca Schultz Zavin <rebecca@android.com>
Wed, 22 Aug 2012 04:35:20 +0000 (21:35 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:04 +0000 (14:16 -0700)
commit9993b96e30cebbbfdce64775876ae7338bcfc10d
tree7e720e9fd20dcf347e9c03d21316c97a4cfc5bb0
parente91e991e13b07f0666cb0eea1d00da65c478f9cf
gpu: ion: Switch to using kmalloc rather than kmap during allocation

Previously, metadata was stored in the allocated pages themselves
during allocation.  However the system can only have a limited
number of kmapped pages.  A very large allocation might exceed
this limit.

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