summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
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 17:09:19 +0000
commitb55e856e592ab5eb703f42b4fd6c6144717acc0d (patch)
tree139755960889f26311a6445abf96d97a22bf2cb0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc6f43cdfb0e555bd78026b34e236cc6da933a850 (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> Change-Id: I2bad40bbe7d14b1c61534d661b612200ef1084e4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions