Re: time patches by Roman Zippel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14 Feb 2006 at 15:33, Roman Zippel wrote:

[...]
> > Assuming 1024Hz interrupt frequency:
> > (1µs * 1000) / 1024 == 0ns; 0 * 1024 == 0µs, not 1µs
> > (2µs * 1000) / 1024 == 1ns; 1 * 1024 == 1.024µs, not 2µs
> 
> Ok, I didn't put much effort into optimizing it for uncommon HZ values. 
> Why is it so important? It's currently unused on any Linux machine 
> synchronized via NTP.

Roman,

how do you know? When using "disable kernel", NTP relies on adjtime() to adjust 
the time. Some people even prefer that, because the algorithms do floating point 
math in user space instead of fixed-point maths in kernel space.

[...]

Regards,
Ulrich

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux