Re: [RFC][PATCH] SCHED_EDF scheduling class

From: Linus Walleij
Date: Wed Sep 23 2009 - 10:08:23 EST


Hi Claudio, thanks for the detailed answer!

2009/9/23 Claudio Scordino <claudio@xxxxxxxxxxxxxxx>:

> With EDF, instead, the test is much easier: if the bandwidth is less than
> 100%, then you are sure that the deadlines will be met. In other words, you
> can fully exploit processor bandwidth up to 100% being sure that timing
> constraints of EDF tasks will be guaranteed.

This must be under the assumption that all code running in the system
is preemtible, is it not? Which means, negligible or close to negligible
non-preemptible code.

How much as we might like it to be, that is not (yet) the situation
with the Linux kernel, far off.

So we will still very much need the CONFIG_PREEMPT_RT patch
to get closer to that ideal situation, and we still need to get rid of
the BKL.

Well I guess you aldready know that, but take it as a note to
the bystanders of this discussion, which are plenty.

Now I ought to write fewer mails and look into solving that little
problem... You don't happen to know if we can have a EU FP7
project sponsored to rid out the BKL and switch and test drivers
en masse to use threaded interrupt handlers do you? ;-)

Linus Walleij
--
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/