From: Huang Shijie Date: Tue, 31 Jul 2012 23:41:49 +0000 (-0700) Subject: mm: account the total_vm in the vm_stat_account() X-Git-Tag: v3.6-rc1~24^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44de9d0cad41f2c51ef26916842be046b582dcc9;p=pandora-kernel.git mm: account the total_vm in the vm_stat_account() vm_stat_account() accounts the shared_vm, stack_vm and reserved_vm now. But we can also account for total_vm in the vm_stat_account() which makes the code tidy. Even for mprotect_fixup(), we can get the right result in the end. Signed-off-by: Huang Shijie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed