mm/page_alloc.c: broken deferred calculation
[sfrench/cifs-2.6.git] / include / linux / mmzone.h
index a507f43ad221d72d3b899a3ff464be0cc084aa10..67f2e3c389396c232a8d30b930ec18d6235f7c64 100644 (file)
@@ -700,7 +700,8 @@ typedef struct pglist_data {
         * is the first PFN that needs to be initialised.
         */
        unsigned long first_deferred_pfn;
-       unsigned long static_init_size;
+       /* Number of non-deferred pages */
+       unsigned long static_init_pgcnt;
 #endif /* CONFIG_DEFERRED_STRUCT_PAGE_INIT */
 
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
@@ -712,12 +713,6 @@ typedef struct pglist_data {
        /* Fields commonly accessed by the page reclaim scanner */
        struct lruvec           lruvec;
 
-       /*
-        * The target ratio of ACTIVE_ANON to INACTIVE_ANON pages on
-        * this node's LRU.  Maintained by the pageout code.
-        */
-       unsigned int inactive_ratio;
-
        unsigned long           flags;
 
        ZONE_PADDING(_pad2_)