]> err.no Git - linux-2.6/blobdiff - include/linux/mmzone.h
[PATCH] zoned vm counters: conversion of nr_writeback to per zone counter
[linux-2.6] / include / linux / mmzone.h
index 08be91e6cecf9fe05d6ae95a3234f42d95ae9ff2..885cc9727001cc93c692fd039de81c2b0c126b82 100644 (file)
@@ -47,9 +47,14 @@ struct zone_padding {
 #endif
 
 enum zone_stat_item {
-       NR_FILE_MAPPED, /* mapped into pagetables.
+       NR_ANON_PAGES,  /* Mapped anonymous pages */
+       NR_FILE_MAPPED, /* pagecache pages mapped into pagetables.
                           only modified from process context */
        NR_FILE_PAGES,
+       NR_SLAB,        /* Pages used by slab allocator */
+       NR_PAGETABLE,   /* used for pagetables */
+       NR_FILE_DIRTY,
+       NR_WRITEBACK,
        NR_VM_ZONE_STAT_ITEMS };
 
 struct per_cpu_pages {
@@ -177,12 +182,6 @@ struct zone {
 
        /* Zone statistics */
        atomic_long_t           vm_stat[NR_VM_ZONE_STAT_ITEMS];
-       /*
-        * timestamp (in jiffies) of the last zone reclaim that did not
-        * result in freeing of pages. This is used to avoid repeated scans
-        * if all memory in the zone is in use.
-        */
-       unsigned long           last_unsuccessful_zone_reclaim;
 
        /*
         * prev_priority holds the scanning priority for this zone.  It is