Subject: Re: CVS commit: src/sys/arch/i386/i386
To: None <tshiozak@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 02/19/2003 18:53:18
hi,

> Module Name:	src
> Committed By:	tshiozak
> Date:		Fri Feb 14 05:38:40 UTC 2003
> 
> Modified Files:
> 	src/sys/arch/i386/i386: acpi_machdep.c
> 
> Log Message:
> use IPL_SCHED instead of IPL_HIGH to establish interrupt for ACPI;
> Calling wakeup() from a intr handler established with IPL_HIGH may causes
> run/sleep queue to confuse because SCHED_LOCK() uses splsched().

is there any reason to use such high intr levels like IPL_HIGH or SCHED?
i don't know about acpi internals but i think that it can't use
levels higher than IPL_VM because its intr handler is using malloc(9).
(eg. in AcpiOsQueueForExecution)

YAMAMOTO Takashi