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

Linus Torvalds
2002-08-01T19:23:16Z

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