diff options
author | Martijn Coenen <maco@google.com> | 2015-04-23 21:55:58 +0200 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2015-04-27 19:47:48 +0000 |
commit | 398e24ee14b0e818d9515f7c57691a4d02282d5f (patch) | |
tree | 9a14f54111e5e3ebc3c0764eb8c6a26e42963e38 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3d80f4a63db5d5998607372198a7bba53f3b804e (diff) |
Fix vmalloc memory accounting (DO NOT MERGE).
VmallocUsed from meminfo sums all vmalloc'd
memory areas, but it shouldn't count the areas
that were mapped with ioremap(); ioremap()'d
ranges usually map to I/O memory, not actual
physical memory.
Binder and CMA are exceptions, but in the
common case we're more accurate not counting
those regions either.
Bug: 20483106
Change-Id: I75e74d9477a30a3de84877531b6e614a71469d24
(cherry picked from commit f33b6292168ea6e90c9d52d477c922af23001f63)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions