lkml.org 
[lkml]   [2005]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] NTP shift_right cleanup (v. A1)
Hi,

On Wed, 14 Sep 2005, john stultz wrote:

> > I checked and this actually generates worse code.
>
> Well, if I drop the abs() and use:
> if ((time_phase >= FINENSEC) || (time_phase <= -FINENSEC))
>
> It looks pretty close in my test. Is that cool with you?

I think it doesn't hurt to keep it for now, there are other ways to get
rid of it (e.g. reducing tick_nsec so time_adj is always positive).

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: 2005-09-14 21:14    [W:0.037 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site