patch-2.1.20 linux/fs/exec.c
Next file: linux/fs/ext2/ioctl.c
Previous file: linux/fs/dquot.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Wed Jan  1 16:20:45 1997
-  Orig file: 
v2.1.19/linux/fs/exec.c
-  Orig date: 
Tue Dec 31 21:41:07 1996
diff -u --recursive --new-file v2.1.19/linux/fs/exec.c linux/fs/exec.c
@@ -386,8 +386,10 @@
 		new_page_tables(current);
 		return;
 	}
+	flush_cache_mm(current->mm);
 	exit_mmap(current->mm);
 	clear_page_tables(current);
+	flush_tlb_mm(current->mm);
 }
 
 /*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov