From: Rebecca Schultz Zavin Date: Fri, 13 Dec 2013 22:24:12 +0000 (-0800) Subject: gpu: ion: Modify gfp flags in ion_system_heap X-Git-Tag: v3.14-rc1~150^2~439 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee4a4986d1a5998ada72c805c040daf759b687be;p=pandora-kernel.git gpu: ion: Modify gfp flags in ion_system_heap When allocations larger than order 4 are made, use _GFP_NORETRY and __GFP_NO_KSWAPD so kswapd doesn't get kicked off to reclaim these larger chunks. For smaller allocaitons, these are unnecessary, as the system should be able to reclaim these. Signed-off-by: Rebecca Schultz Zavin [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed