diff options
author | Sandeep Patil <[email protected]> | 2019-02-12 15:36:11 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-02-12 16:33:18 -0800 |
commit | 27dd768ed8db48beefc4d9e006c58e7a00342bde (patch) | |
tree | 69d7d8c828cecba5234f3017a8c49f06a41c5d40 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 76ce2a80a28ef5caa8cc0cd41ad04138fb7ffeed (diff) |
mm: proc: smaps_rollup: fix pss_locked calculation
The 'pss_locked' field of smaps_rollup was being calculated incorrectly.
It accumulated the current pss everytime a locked VMA was found. Fix
that by adding to 'pss_locked' the same time as that of 'pss' if the vma
being walked is locked.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 493b0e9d945f ("mm: add /proc/pid/smaps_rollup")
Signed-off-by: Sandeep Patil <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Reviewed-by: Joel Fernandes (Google) <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Daniel Colascione <[email protected]>
Cc: <[email protected]> [4.14.x, 4.19.x]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions