Skip to content
Snippets Groups Projects
Commit 45c9e0b3 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

lmkd: Switch to using /proc/meminfo to have access to file cache size


Current mechanism of getting system memory state by using sysinfo()
is not enough because it does not provide information about file cache
size which is needed to correctly assess memory state. Switch to using
data from /proc/meminfo that includes information provided by sysinfo()
and file cache size in addition to that.


Bug: 77299493
Bug: 75322373
Merged-In: I16106fc4f9254f17f776803e60502b7b6474e1b7
Change-Id: I16106fc4f9254f17f776803e60502b7b6474e1b7
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment