提交 798fd756 编写于 作者: V Vladimir Davydov 提交者: Linus Torvalds

mm: zap ZONE_OOM_LOCKED

Not used since oom_lock was instroduced.

Link: http://lkml.kernel.org/r/1464358093-22663-1-git-send-email-vdavydov@virtuozzo.comSigned-off-by: NVladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: NMichal Hocko <mhocko@suse.com>
Acked-by: NJohannes Weiner <hannes@cmpxchg.org>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 a371d9f1
...@@ -524,7 +524,6 @@ struct zone { ...@@ -524,7 +524,6 @@ struct zone {
enum zone_flags { enum zone_flags {
ZONE_RECLAIM_LOCKED, /* prevents concurrent reclaim */ ZONE_RECLAIM_LOCKED, /* prevents concurrent reclaim */
ZONE_OOM_LOCKED, /* zone is in OOM killer zonelist */
ZONE_CONGESTED, /* zone has many dirty pages backed by ZONE_CONGESTED, /* zone has many dirty pages backed by
* a congested BDI * a congested BDI
*/ */
......
...@@ -988,8 +988,8 @@ bool out_of_memory(struct oom_control *oc) ...@@ -988,8 +988,8 @@ bool out_of_memory(struct oom_control *oc)
/* /*
* The pagefault handler calls here because it is out of memory, so kill a * The pagefault handler calls here because it is out of memory, so kill a
* memory-hogging task. If any populated zone has ZONE_OOM_LOCKED set, a * memory-hogging task. If oom_lock is held by somebody else, a parallel oom
* parallel oom killing is already in progress so do nothing. * killing is already in progress so do nothing.
*/ */
void pagefault_out_of_memory(void) void pagefault_out_of_memory(void)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册