Re: [PATCH v2 01/12] sched: Simplify INIT_PREEMPT_COUNT
From: Thomas Gleixner
Date: Wed Sep 30 2015 - 16:40:48 EST
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 <rostedt@xxxxxxxxxxx>
Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
--
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/