commit | f33b6292168ea6e90c9d52d477c922af23001f63 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Thu Apr 23 21:55:58 2015 +0200 |
committer | Martijn Coenen <maco@google.com> | Mon Apr 27 10:13:24 2015 +0200 |
tree | 372d72972ecd7013ea97faec01400d172fe4b379 | |
parent | 7428de195086d95ddc850f387442c8c0f21e7b0f [diff] |
Fix vmalloc memory accounting. 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