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/12/2007 11:27:16
On Sat, 12 May 2007 18:18:43 +0900 (JST)
yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:

> from mutex(9):
> 	Adaptive mutexes should not be acquired from an interrupt handler.

And how do you know if AcpiEvaluateObject is called from an interrupt
handler?

> > 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.

What code, the function called by callout?

-- 
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish