patch-2.3.40 linux/mm/vmscan.c
Next file: linux/net/ax25/af_ax25.c
Previous file: linux/mm/slab.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu Jan 13 13:31:30 2000
-  Orig file: 
v2.3.39/linux/mm/vmscan.c
-  Orig date: 
Fri Jan  7 19:13:23 2000
diff -u --recursive --new-file v2.3.39/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -503,7 +503,7 @@
 		do {
 			/* kswapd is critical to provide GFP_ATOMIC
 			   allocations (not GFP_HIGHMEM ones). */
-			if (nr_free_buffer_pages() >= freepages.high)
+			if (nr_free_pages() - nr_free_highpages() >= freepages.high)
 				break;
 			if (!do_try_to_free_pages(GFP_KSWAPD, 0))
 				break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)