commit | 7031a84e6a3a18d2cea8550f318d24e79c68f2d6 | [log] [tgz] |
---|---|---|
author | Divyanand Rangu <quic_drangu@quicinc.com> | Thu Oct 03 12:10:27 2024 +0530 |
committer | Kalesh Singh <kaleshsingh@google.com> | Thu Oct 10 19:35:47 2024 +0000 |
tree | 3b0982850c41762772586d92eec4981ba03115f6 | |
parent | da86eed6e5bebd6f355d67cd1498cdeae1c1149b [diff] |
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