diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-03-22 00:33:48 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-22 01:54:55 +0100 |
commit | c3f0327f8e9d7a503f0d64573c311eddd61f197d (patch) | |
tree | ebc59003d3bef08dd41d073eced2b53970e13662 /mm | |
parent | mm, oom: introduce independent oom killer ratelimit state (diff) | |
download | linux-c3f0327f8e9d7a503f0d64573c311eddd61f197d.tar.xz linux-c3f0327f8e9d7a503f0d64573c311eddd61f197d.zip |
mm: add rss counters consistency check
Warn about non-zero rss counters at final mmdrop.
This check will prevent reoccurences of bugs such as that fixed in "mm:
fix rss count leakage during migration".
I didn't hide this check under CONFIG_VM_DEBUG because it rather small and
rss counters cover whole page-table management, so this is a good
invariant.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions