Re: [PATCH 3/5] coredump: use a freezable_schedule for the coredump_finish wait

2013-02-16 Thread Oleg Nesterov
On 02/16, Mandeep Singh Baines wrote: > > @@ -483,7 +484,7 @@ static void exit_mm(struct task_struct * tsk) > set_task_state(tsk, TASK_UNINTERRUPTIBLE); > if (!self.task) /* see coredump_finish() */ > break; > -

[PATCH 3/5] coredump: use a freezable_schedule for the coredump_finish wait

2013-02-16 Thread Mandeep Singh Baines
Prevents hung_task detector from panicing the machine. This is also needed to prevent this wait from blocking suspend. (It doesnt' currently block suspend but it would once the next patch in this series is applied.) Changes since v1: * <20130215145323.ga30...@redhat.com> Oleg Nesterov * Rebased