Skip to content

Commit

Permalink
kgsl: switch back to allocating from highmem
Browse files Browse the repository at this point in the history
Commit 344c3acdd8e436ccf7c4726422e2af85f5fb5a0a 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: Iliyan Malchev <[email protected]>
  • Loading branch information
Iliyan Malchev authored and someone755 committed Sep 6, 2016
1 parent fe663c5 commit c6a9cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/msm/kgsl_sharedmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,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) {
/*
Expand Down

0 comments on commit c6a9cd5

Please sign in to comment.