From owner-freebsd-current Thu Sep 28 9:56:10 2000 Delivered-To: freebsd-current@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-202-176-106.dsl.snfc21.pacbell.net [63.202.176.106]) by hub.freebsd.org (Postfix) with ESMTP id 8B0CC37B423; Thu, 28 Sep 2000 09:55:53 -0700 (PDT) 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 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 Subject: Re: My system hang with ACPI kernel thread 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 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message