From: Konstantin Khlebnikov Date: Wed, 6 Aug 2014 23:06:36 +0000 (-0700) Subject: mm: catch memory commitment underflow X-Git-Tag: cleanup-for-v3.18~96^2~135 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82f71ae4a2b829a25971bdf54b4d0d3d69d3c8b7;p=pandora-kernel.git mm: catch memory commitment underflow Print a warning (if CONFIG_DEBUG_VM=y) when memory commitment becomes too negative. This shouldn't happen any more - the previous two patches fixed the committed_as underflow issues. [akpm@linux-foundation.org: use VM_WARN_ONCE, per Dave] Signed-off-by: Konstantin Khlebnikov Cc: Hugh Dickins Cc: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed