|
@@ -258,8 +258,6 @@ enum oom_scan_t oom_scan_process_thread(struct task_struct *task,
|
|
unsigned long totalpages, const nodemask_t *nodemask,
|
|
unsigned long totalpages, const nodemask_t *nodemask,
|
|
bool force_kill)
|
|
bool force_kill)
|
|
{
|
|
{
|
|
- if (task->exit_state)
|
|
|
|
- return OOM_SCAN_CONTINUE;
|
|
|
|
if (oom_unkillable_task(task, NULL, nodemask))
|
|
if (oom_unkillable_task(task, NULL, nodemask))
|
|
return OOM_SCAN_CONTINUE;
|
|
return OOM_SCAN_CONTINUE;
|
|
|
|
|