Messages in this thread | | | Date | Fri, 23 Sep 2005 11:24:19 -0700 | From | Nish Aravamudan <> | Subject | Re: [patch] sys_epoll_wait() timeout saga ... |
| |
On 9/23/05, Davide Libenzi <davidel@xmailserver.org> wrote: > > The sys_epoll_wait() function was not handling correctly negative timeouts > (besides -1), and like sys_poll(), was comparing millisec to secs in > testing the upper timeout limit. > > > Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Looks a lot more correct :)
Probably want to eventually convert the code path to be similar to sys_poll(), though? Maybe with a helper to do the converting? I think the epoll code can probable use msecs_to_jiffies() + 1 as well, no? I will wait for your patch to go in and send a patch for these ideas later.
Thanks, Nish - 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/
| |