aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/swap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r--include/linux/swap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 6c990e658f4e..4c78fea989b9 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -217,6 +217,11 @@ extern unsigned long try_to_free_pages(struct zonelist *zonelist, int order,
217extern unsigned long try_to_free_mem_cgroup_pages(struct mem_cgroup *mem, 217extern unsigned long try_to_free_mem_cgroup_pages(struct mem_cgroup *mem,
218 gfp_t gfp_mask, bool noswap, 218 gfp_t gfp_mask, bool noswap,
219 unsigned int swappiness); 219 unsigned int swappiness);
220extern unsigned long mem_cgroup_shrink_node_zone(struct mem_cgroup *mem,
221 gfp_t gfp_mask, bool noswap,
222 unsigned int swappiness,
223 struct zone *zone,
224 int nid);
220extern int __isolate_lru_page(struct page *page, int mode, int file); 225extern int __isolate_lru_page(struct page *page, int mode, int file);
221extern unsigned long shrink_all_memory(unsigned long nr_pages); 226extern unsigned long shrink_all_memory(unsigned long nr_pages);
222extern int vm_swappiness; 227extern int vm_swappiness;