Re: Regression with sys_time() speedup patch

From: Ulrich Drepper
Date: Fri Jul 20 2007 - 12:41:02 EST


On 7/20/07, Takashi Iwai <tiwai@xxxxxxx> wrote:
But, is it safe to introduce another variable different from
xtime.tv_sec? Since xtime.tv_sec is referred in many other places,
I'm afaid this may bring confusion...

Perhaps not if they are changed.

Somewhere where I cannot find them right now I've seen some bug
reports where the use of different time sources also caused problems.
This is no new situation. Whenever one case uses xtime and another
case recomputed the time we have a discrepancy and this lead to
user-observable problems.

If this new variable can be used throughout it might be the right
solution. But then there is of course the question why we have xtime
in the first place.

If/When I find the bug reports I'll point Ingo to them.
-
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/