patch-2.0.32 linux/mm/kmalloc.c

Next file: linux/mm/mmap.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.31/linux/mm/kmalloc.c linux/mm/kmalloc.c
@@ -362,7 +362,8 @@
 	}
 	{
 		static unsigned long last = 0;
-		if (priority != GFP_BUFFER && (last + 10 * HZ < jiffies)) {
+		if (priority != GFP_BUFFER && priority != GFP_IO &&
+		    (last + 10 * HZ < jiffies)) {
 			last = jiffies;
 			printk("Couldn't get a free page.....\n");
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov