patch-2.4.4 linux/mm/vmscan.c

Next file: linux/net/802/TODO
Previous file: linux/mm/swapfile.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -563,7 +563,7 @@
 
 			/*
 			 * Unlock the page and drop the extra reference.
-			 * We can only do it here because we ar accessing
+			 * We can only do it here because we are accessing
 			 * the page struct above.
 			 */
 			UnlockPage(page);
@@ -912,7 +912,7 @@
 	 * Kswapd main loop.
 	 */
 	for (;;) {
-		static int recalc = 0;
+		static long recalc = 0;
 
 		/* If needed, try to free some memory. */
 		if (inactive_shortage() || free_shortage()) 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)