Huang Shijie 44de9d0cad 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 <shijie8@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-31 18:42:39 -07:00
..
2012-03-28 18:30:02 +01:00
2012-07-30 13:22:19 -07:00
2011-03-31 11:26:23 -03:00
2012-07-30 13:22:19 -07:00
2011-03-17 14:02:56 +01:00
2012-03-28 18:30:02 +01:00
2012-07-25 11:45:31 -07:00