memcg: count the soft_limit reclaim in global background reclaim
[~shefty/rdma-dev.git] / include / linux / swap.h
index a5c6da5d8df8dd5ad28b6b9525bfa787caa3e74d..384eb5fe530b8e90c44c9f65ebb719f965cf65df 100644 (file)
@@ -257,7 +257,8 @@ extern unsigned long try_to_free_mem_cgroup_pages(struct mem_cgroup *mem,
 extern unsigned long mem_cgroup_shrink_node_zone(struct mem_cgroup *mem,
                                                gfp_t gfp_mask, bool noswap,
                                                unsigned int swappiness,
-                                               struct zone *zone);
+                                               struct zone *zone,
+                                               unsigned long *nr_scanned);
 extern int __isolate_lru_page(struct page *page, int mode, int file);
 extern unsigned long shrink_all_memory(unsigned long nr_pages);
 extern int vm_swappiness;