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

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

Advertisement

Kernel v2.4.13 /mm/highmem.c

Filename:/mm/highmem.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.4.12-ac6  2.4.12-ac4  2.4.12-ac5  2.4.12-ac3  2.4.12-ac2  2.4.12-ac1 
(Following) 2.4.13-ac1  2.4.13-ac2  2.4.13-ac3  2.4.13-ac4  2.4.13-ac5  2.4.13-ac6 

Location
[  2.4.13
  [  mm
     o  highmem.c

Patch

diff -u --recursive --new-file v2.4.12/linux/mm/highmem.c linux/mm/highmem.c
--- v2.4.12/linux/mm/highmem.c   Sun Sep 23 11:41:01 2001
+++ linux/mm/highmem.c   Mon Oct 22 15:01:57 2001
@@ -327,7 +327,6 @@
    struct list_head *tmp;
    struct page *page;
 
-repeat_alloc:
    page = alloc_page(GFP_NOHIGHIO);
    if (page)
       return page;
@@ -337,6 +336,7 @@
     */
    wakeup_bdflush();
 
+repeat_alloc:
    /*
     * Try to allocate from the emergency pool.
     */
@@ -365,7 +365,6 @@
    struct list_head *tmp;
    struct buffer_head *bh;
 
-repeat_alloc:
    bh = kmem_cache_alloc(bh_cachep, SLAB_NOHIGHIO);
    if (bh)
       return bh;
@@ -375,6 +374,7 @@
     */
    wakeup_bdflush();
 
+repeat_alloc:
    /*
     * Try to allocate from the emergency pool.
     */


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