| Kernel v2.4.9 /mm/page_alloc.c |
|---|
 2.4.9
 mm
 page_alloc.c
diff -u --recursive --new-file v2.4.8/linux/mm/page_alloc.c linux/mm/page_alloc.c
--- v2.4.8/linux/mm/page_alloc.c Sun Aug 12 13:28:01 2001
+++ linux/mm/page_alloc.c Thu Aug 16 09:43:02 2001
@@ -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;
|