diff options
author | Konstantin Khlebnikov <koct9i@gmail.com> | 2014-08-06 16:06:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 18:01:19 -0700 |
commit | 82f71ae4a2b829a25971bdf54b4d0d3d69d3c8b7 (patch) | |
tree | 2b304d094f4468b74a1c581eb9d6f9affa63a146 /fs/ext3/balloc.c | |
parent | 77142517990fd3d982678c2945ea2c4188ec5f9a (diff) | |
download | op-kernel-dev-82f71ae4a2b829a25971bdf54b4d0d3d69d3c8b7.zip op-kernel-dev-82f71ae4a2b829a25971bdf54b4d0d3d69d3c8b7.tar.gz |
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 <koct9i@gmail.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext3/balloc.c')
0 files changed, 0 insertions, 0 deletions