diff options
-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 64cdacad83d9..0c7c18f78425 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c | |||
@@ -453,7 +453,7 @@ static int oom_kill_process(struct task_struct *p, gfp_t gfp_mask, int order, | |||
453 | * its children or threads, just set TIF_MEMDIE so it can die quickly | 453 | * its children or threads, just set TIF_MEMDIE so it can die quickly |
454 | */ | 454 | */ |
455 | if (p->flags & PF_EXITING) { | 455 | if (p->flags & PF_EXITING) { |
456 | __oom_kill_task(p, 0); | 456 | set_tsk_thread_flag(p, TIF_MEMDIE); |
457 | return 0; | 457 | return 0; |
458 | } | 458 | } |
459 | 459 | ||