Re: [RFC 3/4] Disable scheduler tick when we are runningSCHED_FIFO tasks

From: Jan Blunck
Date: Wed Sep 08 2010 - 10:47:18 EST


On Wed, Sep 08, Andi Kleen wrote:

> Jan Blunck <jblunck@xxxxxxx> writes:
>
> > This patch is disabling the scheduler tick to go off when there is a task
> > with SCHED_FIFO policy running. Since these tasks are not timesliced anyway
> > we only care about timers, softirqs and such stuff just like when we disable
> > the tick during idle periods.
>
> How would these tasks accounted for then?
>
> The CPU time accounting relies on the timer tick currently.
>

Yes, that is a known issue.

Jan

> -Andi
>
> --
> ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/