summaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 0560781c690..ab5211b9e62 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -619,14 +619,6 @@ void mmput(struct mm_struct *mm)
module_put(mm->binfmt->module);
mmdrop(mm);
}
-
- /*
- * Final rss-counter synchronization. After this point there must be
- * no pagefaults into this mm from the current context. Otherwise
- * mm->rss_stat will be inconsistent.
- */
- if (mm)
- sync_mm_rss(mm);
}
EXPORT_SYMBOL_GPL(mmput);