Skip to content
Snippets Groups Projects
Commit 4e121e13 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt Committed by Pat Tjin
Browse files

msm: kgsl: Optimize the vmap step size in kgsl page allocator


In the kgsl page allocator, the vmap step size is the number
of pages we map into vmalloc space once in order to memset 0
the allocation. Till now, the step size was 1/8th the vmalloc
space. This has one side-effect - other applications in the
system might starve due to lack of vmalloc space.
We conducted experiments with the goal to reduce the step
size while not hurting performance, and arrived at step size
of 2MB.

Bug: 21997649

Change-Id: I6bab8482edb7793cecf7e19e76bc359d308ddd8e
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent cb37e96a
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment