gpu: ion: do not ask for compound pages in system heap
Signed-off-by: Dima Zavin <dima@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>
This commit is contained in:
parent
0b9ec1cfd4
commit
fe65ec5bd1
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ static struct page_info *alloc_largest_available(unsigned long size)
|
|||
for (i = 0; i < ARRAY_SIZE(orders); i++) {
|
||||
if (size < (1 << orders[i]) * PAGE_SIZE)
|
||||
continue;
|
||||
page = alloc_pages(GFP_HIGHUSER | __GFP_ZERO | __GFP_COMP |
|
||||
page = alloc_pages(GFP_HIGHUSER | __GFP_ZERO |
|
||||
__GFP_NOWARN | __GFP_NORETRY, orders[i]);
|
||||
if (!page)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue