diff options
author | Konstantin Khlebnikov <koct9i@gmail.com> | 2014-08-07 01:06:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 03:01:19 +0200 |
commit | 82f71ae4a2b829a25971bdf54b4d0d3d69d3c8b7 (patch) | |
tree | 2b304d094f4468b74a1c581eb9d6f9affa63a146 /fs/proc/meminfo.c | |
parent | shmem: update memory reservation on truncate (diff) | |
download | linux-82f71ae4a2b829a25971bdf54b4d0d3d69d3c8b7.tar.xz linux-82f71ae4a2b829a25971bdf54b4d0d3d69d3c8b7.zip |
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/proc/meminfo.c')
0 files changed, 0 insertions, 0 deletions