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:shisiyuan <shisiyuan@lixiang.com> (cherry picked from https://android-review.googlesource.com/q/commit:c51c79dc1a602216813a9d170475bb975589b856) Merged-In: I564157331eafd23ab1581848735b75d87fa3c8d5 Change-Id: I564157331eafd23ab1581848735b75d87fa3c8d5
Loading
Please register or sign in to comment