Re: [Query]: tick-sched: why don't we stop tick when we are running idle task?
From: Peter Zijlstra
Date: Tue Apr 15 2014 - 06:53:50 EST
On Tue, Apr 15, 2014 at 12:52:26PM +0200, Peter Zijlstra wrote:
> On Tue, Apr 15, 2014 at 11:30:04AM +0200, Frederic Weisbecker wrote:
> > There is probably a few things that assume local calls but last time
> > I checked I had the impression that it was fairly possible to call sched_class::task_tick()
> > remotely. rq is locked, no reference to "current", use rq accessors...
> >
> > OTOH scheduler_tick() itself definetly requires local calls.
>
> possible isn't the problem, its completely insane to do that.
What's more, I'm still waiting to hear why we're wanting to do any of
this.
--
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/