lkml.org 
[lkml]   [2002]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-03-22 13:27    [W:4.080 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site