patch-2.4.6 linux/mm/highmem.c
Next file: linux/mm/memory.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Fri Jun 29 16:17:34 2001
-  Orig file: 
v2.4.5/linux/mm/highmem.c
-  Orig date: 
Fri May 25 17:57:46 2001
diff -u --recursive --new-file v2.4.5/linux/mm/highmem.c linux/mm/highmem.c
@@ -302,7 +302,7 @@
 	struct page *page;
 
 repeat_alloc:
-	page = alloc_page(GFP_BUFFER);
+	page = alloc_page(GFP_NOIO);
 	if (page)
 		return page;
 	/*
@@ -340,7 +340,7 @@
 	struct buffer_head *bh;
 
 repeat_alloc:
-	bh = kmem_cache_alloc(bh_cachep, SLAB_BUFFER);
+	bh = kmem_cache_alloc(bh_cachep, SLAB_NOIO);
 	if (bh)
 		return bh;
 	/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)