patch-2.1.106 linux/include/linux/swap.h
Next file: linux/include/linux/sysctl.h
Previous file: linux/include/linux/signal.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sat Jun 13 13:28:33 1998
- Orig file:
v2.1.105/linux/include/linux/swap.h
- Orig date:
Wed Apr 8 19:36:29 1998
diff -u --recursive --new-file v2.1.105/linux/include/linux/swap.h linux/include/linux/swap.h
@@ -75,6 +75,11 @@
void si_swapinfo(struct sysinfo *);
unsigned long get_swap_page(void);
extern void FASTCALL(swap_free(unsigned long));
+struct swap_list_t {
+ int head; /* head of priority-ordered swapfile list */
+ int next; /* swapfile to be used next */
+};
+extern struct swap_list_t swap_list;
/*
* vm_ops not present page codes for shared memory.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov