2008-01-07 19:14:50

by Larry Woodman

[permalink] [raw]
Subject: [Patch] Include count of pagecache pages in show_mem() output.

--- linux-2.6.23/mm/page_alloc.c.orig 2008-01-07 13:26:00.228823000 -0500
+++ linux-2.6.23/mm/page_alloc.c 2008-01-07 13:33:18.105448000 -0500
@@ -1644,6 +1644,8 @@ void show_free_areas(void)
printk("= %lukB\n", K(total));
}

+ printk("%ld total pagecache pages\n", global_page_state(NR_FILE_PAGES));
+
show_swap_cache_info();
}


Attachments:
linux-2.6.23-showmem.patch (340.00 B)