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
..
2010-02-08 10:42:17 -08:00
2012-03-28 18:30:02 +01:00
2012-01-09 12:55:10 -08:00
2010-03-03 11:25:59 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2011-03-29 14:48:05 +02:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2008-02-04 15:42:06 -08:00
2012-03-28 18:30:02 +01:00
2008-02-04 15:42:06 -08:00
2008-04-08 13:51:35 -07:00
2012-03-28 18:30:02 +01:00
2012-06-25 13:48:30 +02:00
2011-03-31 11:26:23 -03:00
2006-12-07 10:48:19 -08:00
2012-03-28 18:30:02 +01:00
2007-05-08 14:51:59 -07:00
2012-06-01 12:58:52 -04:00
2012-03-28 18:30:02 +01:00
2010-05-18 14:45:54 -07:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00