From owner-acpi-jp@jp.freebsd.org  Fri Sep 29 01:55:55 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id BAA55427;
	Fri, 29 Sep 2000 01:55:55 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mass.osd.bsdi.com (adsl-63-202-176-106.dsl.snfc21.pacbell.net [63.202.176.106])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id BAA55421;
	Fri, 29 Sep 2000 01:55:52 +0900 (JST)
	(envelope-from msmith@mass.osd.bsdi.com)
Received: from mass.osd.bsdi.com (localhost [127.0.0.1])
	by mass.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e8SGvEA01338;
	Thu, 28 Sep 2000 09:57:15 -0700 (PDT)
	(envelope-from msmith@mass.osd.bsdi.com)
Message-Id: <200009281657.e8SGvEA01338@mass.osd.bsdi.com>
X-Mailer: exmh version 2.1.1 10/15/1999
To: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
cc: msmith@freebsd.org, takawata@shidahara1.planet.sci.kobe-u.ac.jp,
        haro@tk.kubota.co.jp, current@freebsd.org, acpi-jp@jp.FreeBSD.org
In-reply-to: Your message of "Thu, 28 Sep 2000 23:35:11 +0900."
             <20000928233511G.iwasaki@jp.FreeBSD.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 28 Sep 2000 09:57:14 -0700
From: Mike Smith <msmith@freebsd.org>
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 682
Subject: [acpi-jp 682] Re: My system hang with ACPI kernel thread 
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: msmith@freebsd.org

> > > Please set debug.aml_debug and debug.acpi_debug to 1 and 
> > > see what will happen.
> > 
> > It wouldn't surprise me if the system wasn't running out of kernel 
> > memory.  Right now we just keep mallocing storage to queue ACPI events 
> > (bad idea).  The entire event/Notify stuff needs to be somewhat rethought 
> > (eg. I think we need an event filter).
> 
> Currently kernel thread seems broken, so mallocing storage in
> acpi_queue_event() never be freed.  I think number of events at a
> point of tme is limited and we can have static storage for the events.
> The implementaion of sys/i386/apm/apm.c:apm_record_event() (it's for apmd)
> would be a good example.

I have a megapatch for acpi.c that I am nearly ready to commit which 
converts it to use bus resources for all I/O allocations.  I'll fix this 
in there, if you like.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E


