patch-1.3.59 linux/mm/swap.c
Next file: linux/mm/swapfile.c
Previous file: linux/mm/page_io.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Jan 22 22:16:07 1996
- Orig file:
v1.3.58/linux/mm/swap.c
- Orig date:
Tue Jan 23 21:15:55 1996
diff -u --recursive --new-file v1.3.58/linux/mm/swap.c linux/mm/swap.c
@@ -42,6 +42,10 @@
int free_pages_low = 30;
int free_pages_high = 40;
+/* We track the number of pages currently being asynchronously swapped
+ out, so that we don't try to swap TOO many pages out at once */
+int nr_async_pages = 0;
+
/*
* Constants for the page aging mechanism: the maximum age (actually,
* the maximum "youthfulness"); the quanta by which pages rejuvinate
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this