Re: [PATCH 07/10] sched: Migrate sched to use new tick dependency mask model

From: Peter Zijlstra
Date: Tue Aug 04 2015 - 03:41:28 EST


On Mon, Aug 03, 2015 at 07:30:32PM +0200, Frederic Weisbecker wrote:
> > But you've forgotten about SCHED_DEADLINE, we count those in:
> > rq->dl.dl_nr_running.
>
> Indeed. Hmm, there is no preemption between SCHED_DEALINE tasks, right?
> So I can treat it like SCHED_FIFO.

Sadly no. Even though EDF has static job priority (once a job is
activated its priority doesn't change anymore) DEADLINE also has a CBS
component and that needs the tick regardless, even with a single task.

So any deadline task running means we cannot stop the tick.
--
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/