commit | 187a6aeb112ecbf85387a21ea75cf6beb3f9fc76 | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Wed Dec 09 09:36:12 2015 -0800 |
committer | Greg Hackmann <ghackmann@google.com> | Wed Dec 09 21:36:39 2015 +0000 |
tree | e362341afeac7576ad509dc473668daa7d00c56e | |
parent | 35fc197caaecf22e8e5642963aa4807f1b43d88f [diff] |
Prefer new zram ABI Starting with Linux 4.1, reading from /dev/block/zram*/mem_used_total logs this warning: "Attribute mem_used_total (and others) will be removed. See zram documentation." mem_used_total and several related counters are now consolidated under a new node mm_stat. Prefer that when it's available. Bug: 25951511 Change-Id: I0862c3cd1af5d003158aca6be42db25e4bebe7c7 Signed-off-by: Greg Hackmann <ghackmann@google.com>