commit | 49813529f7ba0845ae27fe7e03a85e673a4e2385 | [log] [tgz] |
---|---|---|
author | Minchan Kim <minchan@google.com> | Tue Jul 09 11:57:41 2019 +0900 |
committer | Thierry Strudel <tstrudel@google.com> | Wed Jul 10 01:41:04 2019 +0000 |
tree | d836695ef2f88ddc40269bf0e47adad022c72fb8 | |
parent | 0e5c34bb381e5ab995c7656929e2532af9b8957f [diff] |
skip reading vmallocinfo if not needed If kernel supports vmalloc memory accouting from /proc/meminfo (https://patchwork.kernel.org/patch/10944111/) it's pointless to parse /proc/vmallocinfo since it's too heavy Bug: 136688885 Test: manual checking right vmalloc pages from meminfo Test: manual checking check that never invokes ReadVmallocInfo if kernel supports vmalloc pages Change-Id: I725ea1f8a0c4ab07e78893fdb39661a65eac39e6 Signed-off-by: Minchan Kim <minchan@google.com>