Messages in this thread | | | Date | Thu, 1 Aug 2002 12:25:06 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [rfc] aio-core for 2.5.29 (Re: async-io API registration for 2.5.29) |
| |
On Thu, 1 Aug 2002, Chris Wedgwood wrote: > > 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,
Ugh. That sounds like overdesign, and I hate overdesign.
The error is also rather hard to quantify, and only user land can do that sanely anyway in the long run (ie the same reason why we have things like /etc/adjtime - good guesses depend on history).
The kernel really shouldn't be involved in something like this.
I seriously doubt that people really care _that_ much about a precise time source for aio timeouts, and we should spend more time on making it efficient and easy to use than on worrying about the precision. People who do care can fall back to gettimeofday() and try to correct for it that way.
Linus
- 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/
| |