Re: CFS review

From: Roman Zippel
Date: Wed Aug 01 2007 - 09:33:42 EST


Hi,

On Wed, 1 Aug 2007, Andi Kleen wrote:

> > especially if one already knows that
> > scheduler clock has only limited resolution (because it's based on
> > jiffies), it becomes possible to use mostly 32bit values.
>
> jiffies based sched_clock should be soon very rare. It's probably
> not worth optimizing for it.

I'm not so sure about that. sched_clock() has to be fast, so many archs
may want to continue to use jiffies. As soon as one does that one can also
save a lot of computational overhead by using 32bit instead of 64bit.
The question is then how easy that is possible.

bye, Roman
-
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/