X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fswap.h;h=3ca5c4bd6d3f5dc6002075c2097c76dbb4e78ad2;hb=6e5565f949af1322f8f3d3f43d044645ae448499;hp=353153ea0bd5cc88ba03ab48959cc0a281a95e8b;hpb=73b1262fa43a778b1e154deea632cdef5009d6a1;p=linux-2.6 diff --git a/include/linux/swap.h b/include/linux/swap.h index 353153ea0b..3ca5c4bd6d 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -5,6 +5,7 @@ #include #include #include +#include #include #include @@ -182,6 +183,9 @@ extern void swap_setup(void); /* linux/mm/vmscan.c */ extern unsigned long try_to_free_pages(struct zone **zones, int order, gfp_t gfp_mask); +extern unsigned long try_to_free_mem_cgroup_pages(struct mem_cgroup *mem, + gfp_t gfp_mask); +extern int __isolate_lru_page(struct page *page, int mode); extern unsigned long shrink_all_memory(unsigned long nr_pages); extern int vm_swappiness; extern int remove_mapping(struct address_space *mapping, struct page *page);