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

Commit 7ff7ffe7 authored by Jordan Crouse's avatar Jordan Crouse Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Make global memory statistics atomic



If you run aggressive memory operations long enough, eventually you
will notice that the KGSL memory statistics will explode up into the
3G range. This is a race condition on the statistics math which ends up
going negative in certain cases.  Turning the statistics variables into
atomics should solve the problem once and for all. ONCE AND FOR ALL.

Change-Id: Ic0dedbad61762d667550c22190c4f9d0b453829b
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent d9a88e39
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