Commit 5016c064 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Show more stats in the sysrq-M output

Display number of slab, mapped and pagetable pages in the sysrq-M output.
parent 15f4ae0c
......@@ -1044,13 +1044,16 @@ void show_free_areas(void)
K(nr_free_highpages()));
printk("Active:%lu inactive:%lu dirty:%lu writeback:%lu "
"unstable:%lu free:%u\n",
"unstable:%lu free:%u slab:%lu mapped:%lu pagetables:%lu\n",
active,
inactive,
ps.nr_dirty,
ps.nr_writeback,
ps.nr_unstable,
nr_free_pages());
nr_free_pages(),
ps.nr_slab,
ps.nr_mapped,
ps.nr_page_table_pages);
for_each_zone(zone) {
show_node(zone);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment