]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/exec.c
vfs: do_last(): inline lookup_slow()
[karo-tx-linux.git] / fs / exec.c
index b926ed19301e270c6717b3156118b5fcee87c22c..da27b91ff1e8cbe87d0fe42aa5d39513e6a9deeb 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -822,6 +822,7 @@ static int exec_mmap(struct mm_struct *mm)
        mm_release(tsk, old_mm);
 
        if (old_mm) {
+               sync_mm_rss(old_mm);
                /*
                 * Make sure that if there is a core dump in progress
                 * for the old mm, we get out and die instead of going