diff options
Diffstat (limited to 'mm/oom_kill.c')
-rw-r--r-- | mm/oom_kill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 202f186a753a..21f0a7e8e514 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c | |||
@@ -227,7 +227,7 @@ static struct task_struct *select_bad_process(unsigned long *ppoints) | |||
227 | p->flags & PF_EXITING; | 227 | p->flags & PF_EXITING; |
228 | if (releasing) { | 228 | if (releasing) { |
229 | /* TASK_DEAD tasks have already released their mm */ | 229 | /* TASK_DEAD tasks have already released their mm */ |
230 | if (p->state == EXIT_DEAD) | 230 | if (p->state == TASK_DEAD) |
231 | continue; | 231 | continue; |
232 | if (p->flags & PF_EXITING && p == current) { | 232 | if (p->flags & PF_EXITING && p == current) { |
233 | chosen = p; | 233 | chosen = p; |