From owner-freebsd-current@FreeBSD.ORG Thu Mar 18 23:10:53 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA80916A4CE for ; Thu, 18 Mar 2004 23:10:53 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id C0E9A43D3F for ; Thu, 18 Mar 2004 23:10:53 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 12183 invoked by uid 1000); 19 Mar 2004 07:10:56 -0000 Date: Thu, 18 Mar 2004 23:10:56 -0800 (PST) From: Nate Lawson To: "Moore, Robert" In-Reply-To: Message-ID: <20040318230910.J12151@root.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: acpi-jp@jp.FreeBSD.org cc: current@freebsd.org Subject: Re: [acpi-jp 3117] RE: ACPI-CA 20040311 imported X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 07:10:54 -0000 > -----Original Message----- > From: owner-acpi-jp@jp.FreeBSD.org [mailto:owner-acpi-jp@jp.FreeBSD.org] > On Behalf Of Nate Lawson > Sent: Thursday, March 18, 2004 10:47 AM > To: current@freebsd.org; acpi-jp@jp.FreeBSD.org > Subject: [acpi-jp 3116] ACPI-CA 20040311 imported > > See src/sys/contrib/dev/acpica/CHANGES.txt for specific changes. > > The main change is that we now support _OSI to announce we're compatible > with all the NT-derived MS systems. Also, we now serialize all method > execution as some ASL depends on this behavior. The MS interpreter > doesn't support parallel execution, hence this matches their behavior. > > If there are problems with these features, please try the tunables: > > hw.acpi.osi_method > hw.acpi.serialize_methods > > You can disable each feature by setting it to 0 at the loader prompt or > loader.conf. On Thu, 18 Mar 2004, Moore, Robert wrote: > 1) If you serialize all methods by default, you will prohibit recursive > methods. That's why we made this an option for Linux, and the default > is to allow reentrant methods. > > 2) We are not really sure about the MS interpreter. They claim that > they support reentrant methods and allow multiple threads to execute. > But we see problems with the coding of reentrant ASL methods that imply > that that multiple threads never execute control methods concurrently on > Win* Interesting. Do you know of any ASL that uses recursive methods? I haven't ever found any like that. If you don't have a counter-example, I'm happy to let this sit in the tree for a little while to see if it solves problems or breaks things for people. If we don't turn it on by default, it won't get the testing it needs. -Nate