[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1509302239420.4500@nanos>
Date: Wed, 30 Sep 2015 22:39:59 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Steven Rostedt <rostedt@...dmis.org>
cc: Peter Zijlstra <peterz@...radead.org>, mingo@...nel.org,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
fweisbec@...il.com, oleg@...hat.com, umgwanakikbuti@...il.com
Subject: Re: [PATCH v2 01/12] sched: Simplify INIT_PREEMPT_COUNT
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@...dmis.org>
Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists