Re: [PATCH 01/13] hrtimer: round up relative start time

From: Roman Zippel
Date: Mon Feb 13 2006 - 10:47:31 EST


Hi,

On Mon, 13 Feb 2006, Ingo Molnar wrote:

> In other words: your patch re-introduces half of the bug on low-res
> platforms. Users doing a series of one-shot itimer calls would be
> exposed to the same kind of (incorrect and unnecessary) summing-up
> errors. What's the point?

I don't fully agree with the interval behaviour either, but here one could
at least say it's correct on average. Since hrtimer is also used for
nanosleep(), which I consider more important (as e.g. posix timer), this
one should at least be correct and consistent with previous 2.6 releases.
I don't mind fixing it properly, but just omitting the rounding here is
simply not correct.

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/