[PATCH 0/1] sched: Check TASK_DEAD rather than EXIT_DEAD inschedule_debug()

From: Oleg Nesterov
Date: Wed Nov 13 2013 - 10:44:33 EST


On 11/13, Peter Zijlstra wrote:
>
> On Wed, Nov 13, 2013 at 03:35:52PM +0100, Oleg Nesterov wrote:
> >
> > As for "nobody should use exit_state". I'll try to recheck, but iirc
> > we already discussed this... do you remember any reason why
> > schedule_debug() can't check prev->state == TASK_DEAD instead of
> > ->exit_state?
>
> I have no such memories :/ but a quick test shows that such a kernel
> does boot without issue.

probably my memory fools me. OK, it seems that you agree with this change,
hopefully we both can't be wrong ;)

> Acked-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>

Thanks! And since picked this series, perhaps you can also queue this
one?

Oleg.

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