patch-2.1.30 linux/mm/page_alloc.c

Next file: linux/mm/slab.c
Previous file: linux/mm/kmalloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.29/linux/mm/page_alloc.c linux/mm/page_alloc.c
@@ -201,6 +201,7 @@
 
 	if (order >= NR_MEM_LISTS)
 		return 0;
+#if 0
 	if (intr_count && priority != GFP_ATOMIC) {
 		static int count = 0;
 		if (++count < 5) {
@@ -209,6 +210,7 @@
 			priority = GFP_ATOMIC;
 		}
 	}
+#endif
 	reserved_pages = 5;
 	if (priority != GFP_NFS)
 		reserved_pages = min_free_pages;

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]