diff options
| author | Roman Gushchin <[email protected]> | 2019-07-12 04:00:13 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-07-12 18:05:47 +0000 |
| commit | 97105f0ab7b877a8ece2005e214894e93793950c (patch) | |
| tree | b286da5390c53afa0adca840b05265aa7cccbb32 /tools/perf/scripts/python/sctop.py | |
| parent | mm: smaps: split PSS into components (diff) | |
| download | kernel-97105f0ab7b877a8ece2005e214894e93793950c.tar.gz kernel-97105f0ab7b877a8ece2005e214894e93793950c.zip | |
mm: vmalloc: show number of vmalloc pages in /proc/meminfo
Vmalloc() is getting more and more used these days (kernel stacks, bpf and
percpu allocator are new top users), and the total % of memory consumed by
vmalloc() can be pretty significant and changes dynamically.
/proc/meminfo is the best place to display this information: its top goal
is to show top consumers of the memory.
Since the VmallocUsed field in /proc/meminfo is not in use for quite a
long time (it has been defined to 0 by a5ad88ce8c7f ("mm: get rid of
'vmalloc_info' from /proc/meminfo")), let's reuse it for showing the
actual physical memory consumption of vmalloc().
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Roman Gushchin <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
