Skip to content
Commit b9921ecd authored by Qiang Huang's avatar Qiang Huang Committed by Linus Torvalds
Browse files

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: default avatarQiang Huang <h.huangqiang@huawei.com>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9c2606b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment