From: Konstantin Khlebnikov Date: Wed, 21 Mar 2012 23:33:48 +0000 (-0700) Subject: mm: add rss counters consistency check X-Git-Tag: v3.4-rc1~158^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3f0327f8e9d7a503f0d64573c311eddd61f197d;p=pandora-kernel.git 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 Cc: Hugh Dickins Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed