summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2019-11-25 19:30:29 -0800
committerSuren Baghdasaryan <surenb@google.com>2019-12-19 19:49:05 +0000
commit40899ad1e693a94ea0abb24d34c350dfaf36979f (patch)
tree0d64e346fea9ce99d0e5dbdd364d0d1b658a07c0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5911b9ef0a4e28cd2f3921681f5da4afd32e443a (diff)
Improve cached kernel memory accounting using meminfo KReclaimable field
KReclaimable field from /proc/meminfo is designed to represent total amount of memory that kernel can reclaim when needed. This includes reclaimable memory consumed by slab and reported in SReclaimable field as well as ION pools. By using KReclaimable instead of SReclaimable we will account for ION pools currently reported under "Lost RAM" category in dumpsys meminfo report. Bug: 138148041 Test: dumpsys meminfo Change-Id: Ifdea234d05639db93074ab598b81db5ff5b43612 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions