Subject: Re: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: source-changes
Date: 10/28/2007 16:37:33
On Fri, Oct 26, 2007 at 10:33:03AM -0700, Tim Rightnour wrote:
> 
> 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.

The problem is that this maximum differs between hardware counters.
But let's take about some numbers. Using 32bit arithmetic and a 1MHz
signal, we can support 4000s. I would artifically reduce that to 300s
(5min). Can we think of any situation where we want to busy loop for
more then 5min?

Joerg