From: Michel <mi...@tu...> - 2006-05-29 06:51:51
|
On Sun, 2006-05-28 at 19:57 +0200, Roland Scheidegger wrote: > Rune Petersen wrote: >=20 > >> (e.g. while (ret && (errno =3D=3D EINTR || errno =3D=3D EBUSY));) > >> And by looking at it, does it make sense that the timeout value in t= he=20 > >> kernel depends on the kernel-of-the-day HZ value, rather than some=20 > >> hardware-dependant (probably fixed) value? > >=20 > > Isn't the timeout value dependent on HZ? > > 3*HZ is always 3 seconds no matter what HZ is (provided its the same=20 > > value used to compile the kernel). > Ah right. I think I misinterpreted something. That said, 3 seconds=20 > sounds like a rather long time, why would there still be timeouts? Because lockups do happen. I think these timeouts are one kind of common symptoms of a lockup. --=20 Earthling Michel D=C3=A4nzer | http://tungstengraphics= .com Libre software enthusiast | Debian, X and DRI developer |