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

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)