diff --git a/[refs] b/[refs] index 194c3de94270..19c8fd87d7f5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d08c429b06d21bd2add88aea2cd1996f1b9b3bda +refs/heads/master: f660daac474c6f7c2d710100e29b3276a6f4db0a diff --git a/trunk/mm/oom_kill.c b/trunk/mm/oom_kill.c index 626303b52f3c..d897262068e2 100644 --- a/trunk/mm/oom_kill.c +++ b/trunk/mm/oom_kill.c @@ -32,6 +32,7 @@ #include #include #include +#include int sysctl_panic_on_oom; int sysctl_oom_kill_allocating_task; @@ -317,8 +318,11 @@ static struct task_struct *select_bad_process(unsigned int *ppoints, * blocked waiting for another task which itself is waiting * for memory. Is there a better alternative? */ - if (test_tsk_thread_flag(p, TIF_MEMDIE)) + if (test_tsk_thread_flag(p, TIF_MEMDIE)) { + if (unlikely(frozen(p))) + thaw_process(p); return ERR_PTR(-1UL); + } if (!p->mm) continue;