On Tue, 29 Sep 2015 11:28:29 +0200 Peter Zijlstra <[email protected]> wrote:
> TASK_DEAD is special in that the final schedule call from do_exit() > must be done with preemption disabled. > > This leads to a violation of our new scheduling invariant which states > that the preempt count should be 2. Move the check for TASK_DEAD out > of the debug check and use it to decrement the preempt count (from 2 > to 1). > > Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Steven Rostedt <[email protected]> -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

