Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4663
b: refs/heads/master
c: 3b6bfcd
h: refs/heads/master
i:
  4661: 66d2afa
  4659: 4a56e75
  4655: c3c127e
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Jul 12, 2005
1 parent da09e20 commit c1dbd6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 70d1d47c47c4643af357cb44d0d891c1b765f2ab
refs/heads/master: 3b6bfcdb116f2cc2cab921fcac6d39d4022952d2
4 changes: 3 additions & 1 deletion trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ static inline 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,
-vma_pages(mpnt));
-pages);
continue;
}
charge = 0;
Expand Down

0 comments on commit c1dbd6e

Please sign in to comment.