mm: rename and change semantics of nr_indirectly_reclaimable_bytes
[muen/linux.git] / drivers / staging / android / ion / ion_page_pool.c
index 9bc56eb48d2a894c2f3d760b8b129813d18b5177..0d2a95957ee898ba8baab3eaff3fbcbac4093fa2 100644 (file)
@@ -33,8 +33,8 @@ static void ion_page_pool_add(struct ion_page_pool *pool, struct page *page)
                pool->low_count++;
        }
 
-       mod_node_page_state(page_pgdat(page), NR_INDIRECTLY_RECLAIMABLE_BYTES,
-                           (1 << (PAGE_SHIFT + pool->order)));
+       mod_node_page_state(page_pgdat(page), NR_KERNEL_MISC_RECLAIMABLE,
+                                                       1 << pool->order);
        mutex_unlock(&pool->mutex);
 }
 
@@ -53,8 +53,8 @@ static struct page *ion_page_pool_remove(struct ion_page_pool *pool, bool high)
        }
 
        list_del(&page->lru);
-       mod_node_page_state(page_pgdat(page), NR_INDIRECTLY_RECLAIMABLE_BYTES,
-                           -(1 << (PAGE_SHIFT + pool->order)));
+       mod_node_page_state(page_pgdat(page), NR_KERNEL_MISC_RECLAIMABLE,
+                                                       -(1 << pool->order));
        return page;
 }