gpu: ion: Modify the system heap to try to allocate large/huge pages
authorRebecca Schultz Zavin <rebecca@android.com>
Fri, 13 Dec 2013 22:23:51 +0000 (14:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:55:37 +0000 (08:55 -0800)
commitbd5d6bdae118c49d194869ef757fd650dcabd33e
tree503b92e37df7b331c20a6658dfa9d79adce6c12a
parent56a7c1851341a2fa9bd115746c1310411a6537a1
gpu: ion: Modify the system heap to try to allocate large/huge pages

On some systems there is a performance benefit to reducing tlb pressure
by minimizing the number of chunks in an allocation.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_system_heap.c