]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: add a helper function to check may oom condition
authorQiang Huang <h.huangqiang@huawei.com>
Tue, 5 Nov 2013 05:55:29 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:29 +0000 (16:55 +1100)
commitecb05f6c8986eca0fe61253e2ca1e8d5f7b98596
tree8a893a6d03cc44420e3e81878ae4fb7a27792ef9
parentdc73c402313184c37c545671640850d126bc9920
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>
include/linux/oom.h
mm/memcontrol.c
mm/page_alloc.c