]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/vmstat.c
[PATCH] zoned vm counters: split NR_ANON_PAGES off from NR_FILE_MAPPED
[linux-2.6-omap-h63xx.git] / mm / vmstat.c
index 210f9bbbb04f4661bf1d2169c288a479488ab57c..3baf4dffa62a57c3c5c96fa5657ee22d8e7e63c3 100644 (file)
  */
 DEFINE_PER_CPU(struct page_state, page_states) = {0};
 
-atomic_t nr_pagecache = ATOMIC_INIT(0);
-EXPORT_SYMBOL(nr_pagecache);
-#ifdef CONFIG_SMP
-DEFINE_PER_CPU(long, nr_pagecache_local) = 0;
-#endif
-
 static void __get_page_state(struct page_state *ret, int nr, cpumask_t *cpumask)
 {
        unsigned cpu;
@@ -401,13 +395,15 @@ struct seq_operations fragmentation_op = {
 
 static char *vmstat_text[] = {
        /* Zoned VM counters */
+       "nr_anon_pages",
+       "nr_mapped",
+       "nr_file_pages",
 
        /* Page state */
        "nr_dirty",
        "nr_writeback",
        "nr_unstable",
        "nr_page_table_pages",
-       "nr_mapped",
        "nr_slab",
 
        "pgpgin",