summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2020-05-12 14:24:12 -0700
committerSuren Baghdasaryan <surenb@google.com>2020-05-13 22:04:30 +0000
commitf85d141839b10ab083bbc9fc31504eb9b80450b1 (patch)
tree7f83c73adce14b41ae82e919143a4a94ebea47a4 /tools/aapt2/java/JavaClassGenerator.cpp
parent0941dd3d04b83a1a6e4b030584a585e1bcb2bfd6 (diff)
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: Suren Baghdasaryan <surenb@google.com> Merged-In: I2bad40bbe7d14b1c61534d661b612200ef1084e4 Change-Id: I2bad40bbe7d14b1c61534d661b612200ef1084e4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions