]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm: catch memory commitment underflow
authorKonstantin Khlebnikov <koct9i@gmail.com>
Thu, 26 Jun 2014 00:42:43 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:43 +0000 (10:42 +1000)
commita2ac52952bc5563fbd7240d9024c45451451b51f
tree776d83dfbc947de8eb04eab1c5afd24ea35addd1
parent9900bb1b6a14558e86ed4435e8a72e36c1190806
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.

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mmap.c