]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/mmzone.h
[PATCH] VM: early zone reclaim
[net-next-2.6.git] / include / linux / mmzone.h
index beacd931b606f478cc188ec72bb081fc1f966632..dfc2452ccb104d23fb409fba5bc923292a96c3b3 100644 (file)
@@ -144,6 +144,12 @@ struct zone {
        unsigned long           pages_scanned;     /* since last reclaim */
        int                     all_unreclaimable; /* All pages pinned */
 
+       /*
+        * Does the allocator try to reclaim pages from the zone as soon
+        * as it fails a watermark_ok() in __alloc_pages?
+        */
+       int                     reclaim_pages;
+
        /*
         * prev_priority holds the scanning priority for this zone.  It is
         * defined as the scanning priority at which we achieved our reclaim