On Wed, 30 Sep 2015, Steven Rostedt wrote: > > /* > > - * Disable preemption until the scheduler is running. > > - * Reset by start_kernel()->sched_init()->init_idle(). > > + * Disable preemption until the scheduler is running -- use an > > unconditional > > + * value so that it also works on !PREEMPT_COUNT kernels. > > * > > - * We include PREEMPT_ACTIVE to avoid cond_resched() from working > > - * before the scheduler is active -- see should_resched(). > > + * Reset by start_kernel()->sched_init()->init_idle(). > > Reset by > start_kernel()->sched_init()->init_idle()->init_idle_preempt_count(). > > Other than that. > > Reviewed-by: Steven Rostedt <rost...@goodmis.org>
Reviewed-by: Thomas Gleixner <t...@linutronix.de> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/