patch-2.1.132 linux/mm/page_io.c
Next file: linux/mm/swap.c
Previous file: linux/mm/page_alloc.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Dec 20 05:51:07 1998
-  Orig file: 
v2.1.131/linux/mm/page_io.c
-  Orig date: 
Fri Nov 27 13:09:30 1998
diff -u --recursive --new-file v2.1.131/linux/mm/page_io.c linux/mm/page_io.c
@@ -60,7 +60,7 @@
 	}
 
 	/* Don't allow too many pending pages in flight.. */
-	if (atomic_read(&nr_async_pages) > SWAP_CLUSTER_MAX)
+	if (atomic_read(&nr_async_pages) > pager_daemon.swap_cluster)
 		wait = 1;
 
 	p = &swap_info[type];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov