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

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

Advertisement

Kernel v2.4.13-ac8 /mm/vmalloc.c

Filename:/mm/vmalloc.c
Lines Added:2
Lines Deleted:0
Also changed in: (Previous) 2.4.13-ac7  2.4.13-ac6  2.4.13-ac5  2.4.13-ac4  2.4.13-ac3  2.4.13-ac1 
(Following) 2.4.17-pre6  2.4.17-pre7  2.4.17-pre8  2.4.17-rc1  2.4.17-rc2  2.4.17 

Location
[  2.4.13-ac8
  [  mm
     o  vmalloc.c

Patch

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/mm/vmalloc.c linux.ac/mm/vmalloc.c
--- linux.vanilla/mm/vmalloc.c   Mon Sep 17 21:16:31 2001
+++ linux.ac/mm/vmalloc.c   Wed Oct 10 01:48:38 2001
@@ -144,6 +144,7 @@
    int ret;
 
    dir = pgd_offset_k(address);
+   flush_cache_all();
    spin_lock(&init_mm.page_table_lock);
    do {
       pmd_t *pmd;
@@ -163,6 +164,7 @@
       ret = 0;
    } while (address && (address < end));
    spin_unlock(&init_mm.page_table_lock);
+   flush_tlb_all();
    return ret;
 }
 


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