Include count of pagecache pages in show_mem() output
authorLarry Woodman <lwoodman@redhat.com>
Tue, 5 Feb 2008 06:29:30 +0000 (22:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:19 +0000 (09:44 -0800)
commite6f3602d2c58815775b2a293cec6650622236169
tree84721b0074e745474c7e71f53d58b6211cf30c40
parenta2b345642f530054a92b8d2b5108436225a8093e
Include count of pagecache pages in show_mem() output

The show_mem() output does not include the total number of pagecache
pages.  This would be helpful when analyzing the debug information in
the /var/log/messages file after OOM kills occur.

This patch includes the total pagecache pages in that output.

Signed-off-by: Larry Woodman <lwoodman@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c