[PATCH] lower VM_DONTCOPY total_vm
authorHugh Dickins <hugh@veritas.com>
Tue, 12 Jul 2005 20:58:09 +0000 (13:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 12 Jul 2005 23:00:58 +0000 (16:00 -0700)
commit3b6bfcdb116f2cc2cab921fcac6d39d4022952d2
treeb9bdc0f85d16bac6de043883880c203627bab9c5
parent70d1d47c47c4643af357cb44d0d891c1b765f2ab
[PATCH] lower VM_DONTCOPY total_vm

dup_mmap of a VM_DONTCOPY vma forgot to lower the child's total_vm.  (But
no way does this account for the recent report of total_vm seen too low.)

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/fork.c