Add support for calculating CMA usage from kernel drivers
The kernel exposes how much memory drivers have allocated from
CMA regions through sysfs. This information can be treated as
memory that is in use by the kernel, and therefore not part of
lost RAM.
So, add support for calculating how much memory kernel drivers
have allocated from the system's CMA regions.
Bug: 371518137
Bug: 228238851
Change-Id: I850c8133942302a491177a74a510a44d90bc830c
Signed-off-by: Isaac J. Manjarres <[email protected]>
3 files changed