Re: [RFC][PATCH 05/11] sched: Add preempt argument to __schedule()

From: Frederic Weisbecker
Date: Tue Sep 29 2015 - 09:18:56 EST


On Tue, Sep 29, 2015 at 11:28:30AM +0200, Peter Zijlstra wrote:
> There is only a single PREEMPT_ACTIVE use in the regular __schedule()
> path and that is to circumvent the task->state check. Since the code
> setting PREEMPT_ACTIVE is the immediate caller of __schedule() we can
> replace this with a function argument.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>
--
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/