projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: account the total_vm in the vm_stat_account()
[deliverable/linux.git]
/
kernel
/
fork.c
diff --git
a/kernel/fork.c
b/kernel/fork.c
index 8efac1fe56bc984655c096170ce42c68fdc6a897..aaa8813c45d1a2079203c70cbdc4e53a4d51e5ff 100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-381,10
+381,8
@@
static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm)
struct file *file;
if (mpnt->vm_flags & VM_DONTCOPY) {
- long pages = vma_pages(mpnt);
- mm->total_vm -= pages;
vm_stat_account(mm, mpnt->vm_flags, mpnt->vm_file,
-
-pages
);
+
-vma_pages(mpnt)
);
continue;
}
charge = 0;
This page took
0.025268 seconds
and
5
git commands to generate.