| Kernel v2.4.1-pre12 /fs/exec.c |
|---|
 2.4.1-pre12
 fs
 exec.c
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);
|