lkml.org 
[lkml]   [2013]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/1] sched: Check TASK_DEAD rather than EXIT_DEAD in schedule_debug()
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@infradead.org>

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

Oleg.



\
 
 \ /
  Last update: 2013-11-13 17:01    [W:0.052 / U:27.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site