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

Commit 7031a84e authored by Divyanand Rangu's avatar Divyanand Rangu Committed by Kalesh Singh
Browse files

Avoid subtracting shmem twice when calculating LOST RAM.

NR_SHMEM is included in both shmem and cached memory of /proc/meminfo.
To avoid double subtraction (since included in kernelUsed and getCachedSizeKb) add shmem to LOST RAM.

Bug: 371518137
Change-Id: I7bdac17c2c952fbb045c0eed9f38a44df2831204
parent da86eed6
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