Subject: Re: callout(9), IPL_NONE and IPL_SOFTCLOCK
To: None <juan@xtrarom.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 05/12/2007 18:47:10
> 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?

i'm not sure what you are asking.
you wrote the code which calls it from an interrupt handler, didn't you?

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

yes.

YAMAMOTO Takashi