The patch titled
     Include count of pagecache pages in show_mem() output
has been added to the -mm tree.  Its filename is
     include-count-of-pagecache-pages-in-show_mem-output.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: Include count of pagecache pages in show_mem() output
From: Larry Woodman <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 mm/page_alloc.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN mm/page_alloc.c~include-count-of-pagecache-pages-in-show_mem-output 
mm/page_alloc.c
--- a/mm/page_alloc.c~include-count-of-pagecache-pages-in-show_mem-output
+++ a/mm/page_alloc.c
@@ -1874,6 +1874,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();
 }
 
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

include-count-of-pagecache-pages-in-show_mem-output.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to