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

From: Oleg Nesterov
Date: Sat Feb 16 2013 - 12:19:08 EST


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;
> - schedule();
> + freezable_schedule();

I think this particular change is fine in any case, no matter what
else will we do.

Acked-by: Oleg Nesterov <oleg@xxxxxxxxxx>

--
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/