Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Kernel v2.4.6 /mm/highmem.c

Filename:/mm/highmem.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.4.6-pre9  2.4.6-pre8  2.4.5-ac24  2.4.5-ac23  2.4.5  2.4.5-ac1 
(Following) 2.4.8-pre5  2.4.8-pre6  2.4.8-pre7  2.4.8-pre8  2.4.8  2.4.8-ac1 

Location
[  2.4.6
  [  mm
     o  highmem.c

Patch

diff -u --recursive --new-file v2.4.5/linux/mm/highmem.c linux/mm/highmem.c
--- v2.4.5/linux/mm/highmem.c   Fri May 25 17:57:46 2001
+++ linux/mm/highmem.c   Fri Jun 29 16:17:34 2001
@@ -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;
    /*


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.