[S390] More verbose show_mem() like other architectures.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
committed by
Martin Schwidefsky
parent
a5a60a2bee
commit
be2864b5ee
@@ -85,6 +85,14 @@ void show_mem(void)
|
|||||||
printk("%d reserved pages\n", reserved);
|
printk("%d reserved pages\n", reserved);
|
||||||
printk("%d pages shared\n", shared);
|
printk("%d pages shared\n", shared);
|
||||||
printk("%d pages swap cached\n", cached);
|
printk("%d pages swap cached\n", cached);
|
||||||
|
|
||||||
|
printk("%lu pages dirty\n", global_page_state(NR_FILE_DIRTY));
|
||||||
|
printk("%lu pages writeback\n", global_page_state(NR_WRITEBACK));
|
||||||
|
printk("%lu pages mapped\n", global_page_state(NR_FILE_MAPPED));
|
||||||
|
printk("%lu pages slab\n",
|
||||||
|
global_page_state(NR_SLAB_RECLAIMABLE) +
|
||||||
|
global_page_state(NR_SLAB_UNRECLAIMABLE));
|
||||||
|
printk("%lu pages pagetables\n", global_page_state(NR_PAGETABLE));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init setup_ro_region(void)
|
static void __init setup_ro_region(void)
|
||||||
|
Reference in New Issue
Block a user