Skip to content
Commit f85d1418 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

Fix Lost RAM calculation by accounting for ION mapped heaps



ION mapped heaps are not reflected in process PSS because ION driver
maps them using remap_pfn_range that sets VM_PFNMAP flag for each
mapped ION heap VMA and consequently excludes these VMAs from PSS
calculation. Change memory accounting to consider ION mapped heaps
as part of kernel used memory which fixes the Lost RAM calculation
that currently includes mapped ION heaps.

Bug: 155409819
Test: verify Lost RAM after opening camera app
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Merged-In: I2bad40bbe7d14b1c61534d661b612200ef1084e4
Change-Id: I2bad40bbe7d14b1c61534d661b612200ef1084e4
parent 0941dd3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment