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

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

Advertisement

Kernel v2.4.1-pre12 /fs/exec.c

Filename:/fs/exec.c
Lines Added:1
Lines Deleted:2
Also changed in: (Previous) 2.4.1-pre11  2.4.1-pre10  2.4.1-pre9  2.4.1-pre8  2.4.1-pre6  2.4.1-pre7 
(Following) 2.4.1  2.4.1-ac1  2.4.1-ac2  2.4.1-ac3  2.4.1-ac4  2.4.1-ac5 

Location
[  2.4.1-pre12
  [  fs
     o  exec.c

Patch

diff -u --recursive --new-file v2.4.0/linux/fs/exec.c linux/fs/exec.c
--- v2.4.0/linux/fs/exec.c   Wed Jan  3 20:45:26 2001
+++ linux/fs/exec.c   Mon Jan 29 08:10:41 2001
@@ -388,10 +388,8 @@
 
    old_mm = current->mm;
    if (old_mm && atomic_read(&old_mm->mm_users) == 1) {
-      flush_cache_mm(old_mm);
       mm_release();
       exit_mmap(old_mm);
-      flush_tlb_mm(old_mm);
       return 0;
    }
 
@@ -407,6 +405,7 @@
       /* Add it to the list of mm's */
       spin_lock(&mmlist_lock);
       list_add(&mm->mmlist, &init_mm.mmlist);
+      mmlist_nr++;
       spin_unlock(&mmlist_lock);
 
       task_lock(current);


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