patch-2.4.8 linux/include/linux/swap.h
Next file: linux/include/linux/sysv_fs.h
Previous file: linux/include/linux/sunrpc/types.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Fri Aug 10 18:13:47 2001
- Orig file:
v2.4.7/linux/include/linux/swap.h
- Orig date:
Tue Aug 7 12:48:42 2001
diff -u --recursive --new-file v2.4.7/linux/include/linux/swap.h linux/include/linux/swap.h
@@ -100,11 +100,6 @@
/* linux/mm/swap.c */
extern int memory_pressure;
-extern void age_page_up(struct page *);
-extern void age_page_up_nolock(struct page *);
-extern void age_page_down(struct page *);
-extern void age_page_down_nolock(struct page *);
-extern void age_page_down_ageonly(struct page *);
extern void deactivate_page(struct page *);
extern void deactivate_page_nolock(struct page *);
extern void activate_page(struct page *);
@@ -121,7 +116,9 @@
extern wait_queue_head_t kreclaimd_wait;
extern int page_launder(int, int);
extern int free_shortage(void);
+extern int total_free_shortage(void);
extern int inactive_shortage(void);
+extern int total_inactive_shortage(void);
extern void wakeup_kswapd(void);
extern int try_to_free_pages(unsigned int gfp_mask);
@@ -151,6 +148,7 @@
extern void free_page_and_swap_cache(struct page *page);
/* linux/mm/swapfile.c */
+extern int vm_swap_full(void);
extern unsigned int nr_swapfiles;
extern struct swap_info_struct swap_info[];
extern int is_swap_partition(kdev_t);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)