lkml.org 
[lkml]   [2006]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] hrtimer: round up relative start time on low-res arches
Hi,

On Tue, 14 Feb 2006, Ingo Molnar wrote:

> CONFIG_TIME_LOW_RES is a temporary way for architectures to signal that
> they simply return xtime in do_gettimeoffset(). In this corner-case we
> want to round up by resolution when starting a relative timer, to avoid
> short timeouts. This will go away with the GTOD framework.

This fixes the worst cases. Even the common case should somehow reflect
that the relative start time should be rounded up in the same way (even
if not by that much), e.g. due to rounding the current get_time() (at
least for the non TIME_INTERPOLATION case) has a 1usec resolution, which
should be added there.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-15 01:32    [W:1.187 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site