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

Benjamin LaHaise
2002-08-01T14:43:40Z

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