patch-2.4.9 linux/mm/page_alloc.c
Next file: linux/mm/vmscan.c
Previous file: linux/mm/oom_kill.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Thu Aug 16 09:43:02 2001
 -  Orig file: 
v2.4.8/linux/mm/page_alloc.c
 -  Orig date: 
Sun Aug 12 13:28:01 2001
 
diff -u --recursive --new-file v2.4.8/linux/mm/page_alloc.c linux/mm/page_alloc.c
@@ -448,7 +448,7 @@
 		 * to give up than to deadlock the kernel looping here.
 		 */
 		if (gfp_mask & __GFP_WAIT) {
-			if (!order || total_free_shortage()) {
+			if (!order || free_shortage()) {
 				int progress = try_to_free_pages(gfp_mask);
 				if (progress || (gfp_mask & __GFP_FS))
 					goto try_again;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)