gpu: ion: Clear GFP_WAIT flag on high order allocations
authorRebecca Schultz Zavin <rebecca@android.com>
Fri, 13 Dec 2013 22:24:17 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:55:40 +0000 (08:55 -0800)
commit31b9432b4b588777b30ad1f7d8eecf7770a45edc
treefc74be608d5aed211c7e478cd2c6857881dccec0
parent8d7ab9a9e15b1d8965fb99b8486cae039a2de40e
gpu: ion: Clear GFP_WAIT flag on high order allocations

This will prevent the kernel from kicking off compaction
when higher order allocations are made.  Instead we will
get these high order allocations only if they are readily
available.

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