From owner-freebsd-acpi@FreeBSD.ORG Sun Apr 3 04:03:46 2005 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E731D16A4CF; Sun, 3 Apr 2005 04:03:45 +0000 (GMT) Received: from mail.smartbit.ru (212.44.95.66.satgate.net [212.44.95.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 461BA43D53; Sun, 3 Apr 2005 04:03:44 +0000 (GMT) (envelope-from filter@smartbit.ru) Received: by mail.smartbit.ru (Postfix, from userid 1025) id 6E3281B867; Sun, 3 Apr 2005 08:03:42 +0400 (MSD) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by mail.smartbit.ru (Postfix) with ESMTP id C2B721B860 for <_@smartbit.ru>; Sun, 3 Apr 2005 08:03:40 +0400 (MSD) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id D24E956A97; Sun, 3 Apr 2005 04:03:12 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 79D2E16A4F0; Sun, 3 Apr 2005 04:03:02 +0000 (GMT) Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2B7B16A4D2 for ; Sun, 3 Apr 2005 04:02:53 +0000 (GMT) Received: from ns2.alphaque.com (ns2.alphaque.com [202.75.47.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 9073E43D31 for ; Sun, 3 Apr 2005 04:02:52 +0000 (GMT) (envelope-from dinesh@alphaque.com) Received: (qmail 99224 invoked by uid 0); 3 Apr 2005 04:02:51 -0000 Received: from lucifer.net-gw.com (HELO prophet.alphaque.com) (202.75.47.153) by lucifer.net-gw.com with SMTP; 3 Apr 2005 04:02:51 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by prophet.alphaque.com (8.13.3/8.13.3) with ESMTP id j32HxUS0001091; Sun, 3 Apr 2005 01:59:30 +0800 (MYT) (envelope-from dinesh@alphaque.com) Message-ID: <424EDD81.1060106@alphaque.com> Date: Sun, 03 Apr 2005 01:59:29 +0800 From: Dinesh Nair User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050326 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <42334057.5070705@gmx.net> <42492F0B.3040704@alphaque.com> <424E13B1.4090607@alphaque.com> <424E363B.2010506@root.org> In-Reply-To: <424E363B.2010506@root.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-hackers@freebsd.org Errors-To: owner-freebsd-hackers@freebsd.org X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mail.smartbit.ru X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 cc: freebsd-hackers@freebsd.org cc: freebsd-acpi@freebsd.org Subject: Re: enable acpi X-BeenThere: freebsd-acpi@freebsd.org List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2005 04:03:46 -0000 On 04/02/05 14:05 Nate Lawson said the following: > 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. thanks a bunch, nate. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+ _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"