Subject: Re: timedwork
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Iain Hibbert <plunky@rya-online.net>
List: tech-kern
Date: 01/18/2007 20:25:40
On Thu, 18 Jan 2007, Iain Hibbert wrote:

> > > On Tue, 16 Jan 2007, Iain Hibbert wrote:
> > > CALLOUT_LOCK() involves splsched() and tsleep/wakeup is
> > > then prohibited.
> >
> > how does it prohibit tsleep/wakeup?
>
> spl(9) says so ..

Typically I think I misconstrued what it says - I think it means the other
way (ie interrupts firing at IPL_SERIAL) than raising it.

In any case, using splclock() for callout seems to have no problems. I
will leave it running a while and do some intensive tasks to make sure..

iain