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

Commit f0622a55 authored by shisiyuan's avatar shisiyuan Committed by Cherrypicker Worker
Browse files

add MEMINFO_SWAP_CACHED in 'cached kernel memory'



In LostRam equation, SwapCached is included in totalSwapPss,
and is subtracted with it. But SwapCached still occupies
memory and can be swapped out under system ram pressure.
So it makes sense to add it in cached kernel memory, and
this can make lostram calculation more accurate.

Test: dumpsys meminfo
Signed-off-by: default avatarshisiyuan <shisiyuan@lixiang.com>
(cherry picked from https://android-review.googlesource.com/q/commit:c51c79dc1a602216813a9d170475bb975589b856)
Merged-In: I564157331eafd23ab1581848735b75d87fa3c8d5
Change-Id: I564157331eafd23ab1581848735b75d87fa3c8d5
parent 05d4f9aa
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