Subject: Re: callout(9), IPL_NONE and IPL_SOFTCLOCK
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 05/13/2007 01:25:00
> On Sat, 12 May 2007 18:18:43 +0900 (JST)
> yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
> > > That means that I'll have to change the ACPI mutex to IPL_SOFTCLOCK
> > > to be happy with envsys2, or do you have any better suggestion?
> >
> > or make your code be executed in thread context.
Ok, after talking with Mindaugas I changed the code to use a
kernel thread and cv_timedwait rather than callout.
No more IPL_SOFTCLOCK, yay.
Thanks for your comment, Takashi-san.
--
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish