Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Apr 2005 22:05:47 -0800
From:      Nate Lawson <nate@root.org>
To:        Dinesh Nair <dinesh@alphaque.com>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: enable acpi
Message-ID:  <424E363B.2010506@root.org>
In-Reply-To: <424E13B1.4090607@alphaque.com>
References:  <42334057.5070705@gmx.net> <42492F0B.3040704@alphaque.com> <424B7A2D.5060902@alphaque.com> <c7f48b8a206ce5a81cc0ebd3e0bf8ae6@FreeBSD.org> <424E13B1.4090607@alphaque.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dinesh Nair wrote:
> On 03/31/05 20:51 John Baldwin said the following:
> 
>> The problem is that the taskqueue_swi in 4.x doesn't have a thread 
>> context that can be slept on via tsleep().  The fix would be to create 
>> a kthread in which to run the ACPI tasks.  4.x already has one such 
>> kthread for the taskqueue_thread taskqueue that you could use as a 
>> reference if you wish to do this yourself.
> 
> 
> thanx for the pointer, john. with your explanation, the fix was simple. 
> since applying this, it's not paniced in over 24 hours of continuous 
> running. patch attached. i'll also raise a PR for this.

Don't bother, I already committed it.

-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?424E363B.2010506>