Re: [rfc] aio-core for 2.5.29 (Re: async-io API registration for 2.5.29)

From: Chris Wedgwood (
Date: Thu Aug 01 2002 - 14:18:24 EST

On Thu, Aug 01, 2002 at 09:30:04AM -0700, Linus Torvalds wrote:

    A 2% error may not be a big problem for most people, of course. But it
    might be a huge problem for others. Those people would have to do their
    own re-calibration..

How about export the value via a syscall and also export an 'error'
which for now could just be set to 5% or something conservative and
refined later if necessary or cleanup on other architectures,
something like:

    /* export monotonically increasing nanoseconds since boot to
       user-space. kt_time is a relative value, it does NOT necessarily
       imply nanoseconds since boot. kt_err should be greater than
       1stdev of the error in kt_time */

    struct kern_time {
          __u64 kt_ns;
          __u64 kt_err;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:16 EST