X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Fswap.h;h=10eb413671046096865244a650d6840b9542bb40;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=371e8260c577cf1cee94e2b90e5c2e45fe687195;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/linux/swap.h b/include/linux/swap.h index 371e8260c..10eb41367 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -230,6 +230,7 @@ extern spinlock_t swaplock; /* linux/mm/thrash.c */ extern struct mm_struct * swap_token_mm; +extern unsigned long swap_token_default_timeout; extern void grab_swap_token(void); extern void __put_swap_token(struct mm_struct *); @@ -268,6 +269,7 @@ static inline void put_swap_token(struct mm_struct *mm) #define move_from_swap_cache(p, i, m) 1 #define __delete_from_swap_cache(p) /*NOTHING*/ #define delete_from_swap_cache(p) /*NOTHING*/ +#define swap_token_default_timeout 0 static inline int remove_exclusive_swap_page(struct page *p) {