Re: [PATCH] oom: Make coredump interruptible

From: David Rientjes
Date: Wed Jun 09 2010 - 16:42:11 EST


On Wed, 9 Jun 2010, Oleg Nesterov wrote:

> --- x/mm/oom_kill.c
> +++ x/mm/oom_kill.c
> @@ -414,6 +414,7 @@ static void __oom_kill_task(struct task_
> p->rt.time_slice = HZ;
> set_tsk_thread_flag(p, TIF_MEMDIE);
>
> + clear_bit(MMF_COREDUMP, &p->mm->flags);
> force_sig(SIGKILL, p);
> }
>

This requires task_lock(p).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/