gpu: ion: Modify zeroing code so it only allocates address space once
authorRebecca Schultz Zavin <rschultz@google.com>
Wed, 19 Dec 2012 06:46:57 +0000 (22:46 -0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:19 +0000 (14:16 -0700)
commit1ab68f544107965984df13d94f6957cab5e327f0
tree6a0e73dfff2c9485940c27183cd3c4105d8e3b78
parent0f44c51f175b90b054d1bdb60b10dc371fe9f8a0
gpu: ion: Modify zeroing code so it only allocates address space once

vmap/vunmap spend a significant amount of time allocating the
address space to map into.  Rather than allocating address space
for each page, instead allocate once for the entire allocation
and then just map and unmap each page into that address space.

Change-Id: I4a5c850717c80f75506a36b7ec2bcd55857b8dea
Signed-off-by: Rebecca Schultz Zavin <rschultz@google.com>
drivers/gpu/ion/ion_system_heap.c