Skip to content
Snippets Groups Projects
Commit 8a80a0e0 authored by Iliyan Malchev's avatar Iliyan Malchev
Browse files

kgsl: switch back to allocating from highmem


Commit 344c3acd switched kgsl to allocating
from highmem in page-sized chunks.  While this reduced pressure on highmem, it
may have increased pressure on lowmem to the point where lowmemorykiller
activity due to GFP_KERNEL requests rose.

b/19236185 Phone runs for about day, then apps start getting constantly killed
	   by lowmemorykiller

Change-Id: I92e82cc668cd10d8845d12e7c1bad6d980bc3956
Signed-off-by: default avatarIliyan Malchev <malchev@google.com>
parent c1d71b3f
Branches
Tags android-5.1.0_r0.6
No related merge requests found
......@@ -613,7 +613,7 @@ _kgsl_sharedmem_page_alloc(struct kgsl_memdesc *memdesc,
while (len > 0) {
struct page *page;
page = alloc_page(GFP_KERNEL | __GFP_ZERO);
page = alloc_page(GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO);
if (page == NULL) {
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment