Re: [PATCH] msleep() with hrtimers

From: Andi Kleen
Date: Wed Aug 08 2007 - 07:01:21 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
>
> I'd be surprised if there was significant overhead - the maximum frequency
> at which msleep() can be called is 1000Hz. We'd need an awful lot of
> overhead for that to cause problems, surely?

The bigger risk is probably to break drivers that rely on msleep(1)
really being msleep( very long depending on HZ )

But the only way to find out is to try it.

-Andi

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