]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/exec.c
mm: correctly synchronize rss-counters at exit/exec
[karo-tx-linux.git] / fs / exec.c
index a79786a8d2c88d5b6c580859ef12496f43b4b0f4..b926ed19301e270c6717b3156118b5fcee87c22c 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -819,7 +819,6 @@ static int exec_mmap(struct mm_struct *mm)
        /* Notify parent that we're no longer interested in the old VM */
        tsk = current;
        old_mm = current->mm;
-       sync_mm_rss(old_mm);
        mm_release(tsk, old_mm);
 
        if (old_mm) {