| Kernel v2.4.13-pre5 /mm/page_alloc.c |
|---|
 2.4.13-pre5
 mm
 page_alloc.c
diff -u --recursive --new-file v2.4.12/linux/mm/page_alloc.c linux/mm/page_alloc.c
--- v2.4.12/linux/mm/page_alloc.c Tue Oct 9 17:06:53 2001
+++ linux/mm/page_alloc.c Thu Oct 18 12:47:09 2001
@@ -242,7 +242,7 @@
current->allocation_order = order;
current->flags |= PF_MEMALLOC | PF_FREE_PAGES;
- __freed = try_to_free_pages(classzone, gfp_mask, order);
+ __freed = try_to_free_pages(gfp_mask, order);
current->flags &= ~(PF_MEMALLOC | PF_FREE_PAGES);
@@ -394,7 +394,7 @@
}
/* Don't let big-order allocations loop */
- if (order)
+ if (order > 1)
return NULL;
/* Yield for kswapd, and try again */
|