patch-2.1.34 linux/mm/swap.c
Next file: linux/mm/vmscan.c
Previous file: linux/mm/slab.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Mon Apr 14 09:31:10 1997
 -  Orig file: 
v2.1.33/linux/mm/swap.c
 -  Orig date: 
Mon Oct 28 04:21:41 1996
 
diff -u --recursive --new-file v2.1.33/linux/mm/swap.c linux/mm/swap.c
@@ -44,7 +44,7 @@
 
 /* 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 */
-atomic_t nr_async_pages = 0;
+atomic_t nr_async_pages = ATOMIC_INIT;
 
 /*
  * Constants for the page aging mechanism: the maximum age (actually,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov