From: Rebecca Schultz Zavin Date: Fri, 13 Dec 2013 22:24:06 +0000 (-0800) Subject: gpu: ion: optimize system heap for non fault buffers X-Git-Tag: v3.14-rc1~150^2~445 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13ba7805f9bf710016ffde5e24437fd6e5a798dc;p=pandora-kernel.git gpu: ion: optimize system heap for non fault buffers If a buffer's user mappings are not going to be faulted in it need not be allocated page wise. We can optimize this common case by allocating an sglist of larger chunks rather than creating an entry for each page in the allocation. 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