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, Aug 01, 2002 at 12:30:11PM +0200, Pavel Machek wrote:
    > I believe Linus actually explained why "when" looks way better to him
    > than "timeout". [It does not skew, for example.]

    After thinking about it further, there is one problem with when that is
    avoided with timeout: if the system time is changed between the timeout
    calculation and the time the kernel calculates the jiffies offset, the
    process could be delayed much longer than desired (and fixing this case
    is hard enough that it should be avoided in typical code). Tradeoffs...

    -ben
    --
    "You will be reincarnated as a toad; and you will be much happier."
    -
    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:0.023 / U:1.452 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site