patch-2.1.36 linux/mm/swap.c

Next file: linux/net/bridge/br.c
Previous file: linux/mm/page_alloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/mm/swap.c linux/mm/swap.c
@@ -38,13 +38,13 @@
  *
  * Keep these three variables contiguous for sysctl(2).  
  */
-int min_free_pages = 20;
-int free_pages_low = 30;
-int free_pages_high = 40;
+int min_free_pages = 48;
+int free_pages_low = 72;
+int free_pages_high = 96;
 
 /* 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 = ATOMIC_INIT;
+atomic_t nr_async_pages = ATOMIC_INIT(0);
 
 /*
  * 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