Re: [PATCH 0/4] new timeofday-based soft-timer subsystem

From: Ulrich Windl
Date: Wed Jun 15 2005 - 01:34:28 EST


On 14 Jun 2005 at 11:11, Nishanth Aravamudan wrote:

[...]
> Would it be beneficial to encapsulate the timer_list structure? That way
> if the units change underneath and we eventually move to timer_fsecs
> (for femtoseconds), we don't need to change all the callers of
> set_timer_nsecs() again?
[...]

I don't think that we'll see a global clock with reliable femtosecond resolution
(not to talk about accuracy) in the foreseeable computer generations. Even plain
gigahertz RAM is quite some time away. So how would you distribute such high
resolution time across CPUs? As long as a syscall takes significantly longer than
1ns, or has a jitter of more than 1ns, a higher resolution clock would be just a
source of additional noise bits.

Regards,
Ulrich Windl

-
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/