Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch
On 26-Oct-2007 Joerg Sonnenberger wrote:
> I was going to ask if we want to introduce a reasonable upper limit.
> IMO anything above a few second is a major bug in the kernel.
I wouldn't set the limit to anything lower than the maximum the function can
handle. There are some rather odd cases out there, especially during early
bringup of the machine, where certain machines need outrageous delays to wake
up or do certain operations. If you set the limit arbitrarily low, you are
just going to encourage people to do crap like for(i=0l i<20; i++) delay(1000);
to get around it.
---
Tim Rightnour <root%garbled.net@localhost>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/
Home |
Main Index |
Thread Index |
Old Index