commit | 4f267b6fd11749c91211c9dbfc706cf46919650b | [log] [tgz] |
---|---|---|
author | Zhouping Liu <zliu@redhat.com> | Fri Mar 30 22:29:58 2012 +0800 |
committer | Caspar Zhang <caspar@casparzhang.com> | Sun Apr 01 15:43:52 2012 +0800 |
tree | da93004e6b7887baaf4ff0a442498241484e5a80 | |
parent | 4611a5fc40dfcfd738dd73d8aa1c1c37cd4f012d [diff] |
mm/tunable: fix unexpected error log in min_free_kbytes when overcommit_memory=0, mmap() will be destroyed in two below scenario: 1) MAP_FAILED with ENOMEM, 2) oom_killer kill it. without the patch, it just catched oom_killer scenario, the patch fixed it. Signed-off-by: Zhouping Liu <zliu@redhat.com>