diff options
author | Huang Shijie <shijie8@gmail.com> | 2012-08-01 01:41:49 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-01 03:42:39 +0200 |
commit | 44de9d0cad41f2c51ef26916842be046b582dcc9 (patch) | |
tree | a9ce576f28e5038e9e3ae2e360cadf176dc74898 /include/drm | |
parent | documentation: update how page-cluster affects swap I/O (diff) | |
download | linux-44de9d0cad41f2c51ef26916842be046b582dcc9.tar.xz linux-44de9d0cad41f2c51ef26916842be046b582dcc9.zip |
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>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions