Subject: Re: Heads up, kernel changes
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Andrew Doran <ad@NetBSD.org>
List: current-users
Date: 07/20/2007 14:04:29
On Fri, Jul 20, 2007 at 02:35:07AM +0900, Izumi Tsutsui wrote:

> Previously the softclock_si handler is established in initclocks()
> after cpu_configure(9), but now it's done in callout_startup2(),
> which is called before cpu_configure(9).
> 
> On some (most m68k) ports softintr is initialized in cpu_configure(9)
> so callout/tsleep (like "waiting 2 seconds" on scsi probe) won't work
> properly after this change.
> 
> Should we move callout_startup2() after cpu_configure(9), or
> initialize MD softintr stuff earlier (in cpu_startup(9) or so)?

I think for now the easiest thing to do is move callout_startup2() into
configure(). I'll be able to do that tomorrow some time - please make the
change beforehand if you want to.

The threaded soft interrupt changes I have been working on move soft
interrupt setup into mi_cpu_attach(), and it becomes per-CPU.

Andrew