diff options
Diffstat (limited to 'mm/oom_kill.c')
-rw-r--r-- | mm/oom_kill.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c index d33aca1552ad..1e11df8fa7ec 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c | |||
@@ -258,8 +258,6 @@ enum oom_scan_t oom_scan_process_thread(struct task_struct *task, | |||
258 | unsigned long totalpages, const nodemask_t *nodemask, | 258 | unsigned long totalpages, const nodemask_t *nodemask, |
259 | bool force_kill) | 259 | bool force_kill) |
260 | { | 260 | { |
261 | if (task->exit_state) | ||
262 | return OOM_SCAN_CONTINUE; | ||
263 | if (oom_unkillable_task(task, NULL, nodemask)) | 261 | if (oom_unkillable_task(task, NULL, nodemask)) |
264 | return OOM_SCAN_CONTINUE; | 262 | return OOM_SCAN_CONTINUE; |
265 | 263 | ||