sched: Check TASK_DEAD rather than EXIT_DEAD in schedule_debug()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | sched: Check TASK_DEAD rather than EXIT_DEAD in schedule_debug()kernel/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] sched: Check TASK_DEAD rather than EXIT_DEAD in schedule_debug()
Quoted 10 lines · Peter Zijlstra
Quoted 5 lines · Oleg Nesterov
As for "nobody should use
exit_state". I'll try to recheck, but iirc we already discussed this... do you remember any reason whyschedule_debug()can't checkprev->state==TASK_DEADinstead 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 ;)
Quoted 1 line
Acked-by Peter Zijlstra <[email protected]>
Thanks! And since picked this series, perhaps you can also queue this one?
Oleg.