Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2003 12:08:12 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andre Grosse Bley <gandalf-hackers@nm.ruhr-uni-bochum.de>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: 4.9-RELEASE, ACPI and DELL Latitude D600
Message-ID:  <XFMail.20031112120812.jhb@FreeBSD.org>
In-Reply-To: <20031112104458.GA94744@nm.ruhr-uni-bochum.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12-Nov-2003 Andre Grosse Bley wrote:
>> > Ah, the problem is that ACPI tries to sleep from a task, which is not safe
>> > to do.  This is not easy to fix. :(
>> 
>> Actually, it may not be too hard.  In current, ACPI uses its own thread
>> to run the tasks in, so stable would need the same sort of thing.
>> Basically, ACPI needs to start up a kproc and needs to have its own
>> taskqueue again that uses this kproc for its execution context.
> 
> So - as I am not a experienced kernel hacker - there is no easy solution
> for me to 'fix' this panic? Should I open a PR?

A PR might be a good idea.  The basic details are that ACPI in 4.x needs
to create a kernel process to service it's private taskqueue and then
use this taskqueue instead of the system taskqueue to service events.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20031112120812.jhb>