ARM: OMAP4+: PM: Make logic state programmable
[cascardo/linux.git] / mm / oom_kill.c
index d33aca1..1e11df8 100644 (file)
@@ -258,8 +258,6 @@ enum oom_scan_t oom_scan_process_thread(struct task_struct *task,
                unsigned long totalpages, const nodemask_t *nodemask,
                bool force_kill)
 {
-       if (task->exit_state)
-               return OOM_SCAN_CONTINUE;
        if (oom_unkillable_task(task, NULL, nodemask))
                return OOM_SCAN_CONTINUE;