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

From: Benjamin LaHaise (
Date: Thu Aug 01 2002 - 09:47:07 EST

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...


"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
More majordomo info at
Please read the FAQ at

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