commit | b9921ecdee66984b00c38c00a358ef3f611d2b50 | [log] [tgz] |
---|---|---|
author | Qiang Huang <h.huangqiang@huawei.com> | Tue Nov 12 15:07:22 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Nov 13 12:09:04 2013 +0900 |
tree | caf420f152f6c8764f150ad336645deec9acaeb2 | |
parent | 9c2606b77d6bffb422928bca66c8dc84d85089be [diff] |
mm: add a helper function to check may oom condition Use helper function to check if we need to deal with oom condition. Signed-off-by: Qiang Huang <h.huangqiang@huawei.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>