Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 279398cf authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Add 'strict memory' debug mode



Add a root only debug mode to force GFP_NORETRY for all page_alloc
memory allocations. This lets stress applications allocate lots of
memory and test error paths without worrying about getting on the
wrong side of the OOM killer.

Enable it like so:  "echo 1 > /d/kgsl/strict_memory"

Change-Id: Ic0dedbadbb627342640c90c589fa384eaaafe245
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 2df93458
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment