Skip to content
Commit 49813529 authored by Minchan Kim's avatar Minchan Kim Committed by Thierry Strudel
Browse files

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: default avatarMinchan Kim <minchan@google.com>
parent 0e5c34bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment