Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch



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



Home | Main Index | Thread Index | Old Index