diff options
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r-- | include/linux/swap.h | 5 |
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, | |||
217 | extern unsigned long try_to_free_mem_cgroup_pages(struct mem_cgroup *mem, | 217 | extern 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); |
220 | extern 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); | ||
220 | extern int __isolate_lru_page(struct page *page, int mode, int file); | 225 | extern int __isolate_lru_page(struct page *page, int mode, int file); |
221 | extern unsigned long shrink_all_memory(unsigned long nr_pages); | 226 | extern unsigned long shrink_all_memory(unsigned long nr_pages); |
222 | extern int vm_swappiness; | 227 | extern int vm_swappiness; |