Re: [PATCH] msleep() with hrtimers

From: Denis Vlasenko
Date: Thu Aug 09 2007 - 15:31:42 EST


On 8/8/07, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> You keep claiming that hrtimers are so incredibly expensive; but for
> msleep()... which is mostly called during driver init ... I really don't
> buy that it's really expensive. We're not doing this a gazilion times
> per second obviously...

Yes. Optimizing delay or sleep functions for speed is a contradiction
of terms. IIRC we still optimize udelay for speed, not code size...
Read it again folks:

We optimize udelay for speed

How fast your udelay do you want to be today?

Oh well.
--
vda
-
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/