Messages in this thread | | | Date | Tue, 11 May 1999 20:51:28 +0200 | From | Roger Espel Llima <> | Subject | Re: select() clobbering the timeout |
| |
On Tue, May 11, 1999 at 08:33:22PM +0200, Carlos Costa Portela wrote: > Not only there: > > aragorn[~/programas/timeout]% uname -a > Linux aragorn 2.0.35 #1 sáb oct 10 13:02:33 CEST 1998 i686 unknown > aragorn[~/programas/timeout]% ./ptime 0 1000 > tv_sec = 0, tv_usec = 1000 > tv_sec = 0, tv_usec = 0 > aragorn[~/programas/timeout]% ./ptime 1 0 > tv_sec = 1, tv_usec = 0 > tv_sec = 0, tv_usec = 0 > aragorn[~/programas/timeout]% ./ptime 2 0 > tv_sec = 2, tv_usec = 0 > tv_sec = 0, tv_usec = 0
the box that started doing this only did after some 250 days of uptime.
it turns out that the problem was already known (Ville Herva found and diagnosed it a month or so ago), and occurs when jiffies wraps around the 2^31 limit. see:
http://www.linuxhq.com/lnxlists/linux-kernel/lk_9904_04/msg00740.html http://www.linuxhq.com/lnxlists/linux-kernel/lk_9904_04/msg00764.html
-- Roger Espel Llima, espel@llaic.u-clermont1.fr http://www.eleves.ens.fr:8080/home/espel/index.html
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |