Subject: Re: timedwork
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Andrew Doran <ad@netbsd.org>
List: tech-kern
Date: 01/14/2007 23:28:29
On Mon, Jan 15, 2007 at 07:55:54AM +0900, YAMAMOTO Takashi wrote:

> > > > We will need to add a CALLOUT_MPSAFE flag at some point.
> > > > 
> > > > Andrew
> > > 
> > > what will CALLOUT_MPSAFE do, if softclock() is called with kernel_lock held?
> > 
> > We will need to change it so that the kernel lock isn't taken until
> > softclock() - which also means having a flag for softintr_establish().
> > 
> > Andrew
> 
> do you mean, making code which can be interrupted by softclock
> biglock-free first?

What I mean is that we will need to add a flag at some point in the future,
once we've got the lock ordering issues worked out, but not necessarily
right now.

Andrew