From owner-freebsd-arch@FreeBSD.ORG Tue Jun 15 17:31:15 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CCAB16A4CE for ; Tue, 15 Jun 2004 17:31:15 +0000 (GMT) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id D1D2843D60 for ; Tue, 15 Jun 2004 17:31:14 +0000 (GMT) (envelope-from nate@root.org) Received: (qmail 27833 invoked by uid 1000); 15 Jun 2004 17:30:44 -0000 Date: Tue, 15 Jun 2004 10:30:44 -0700 (PDT) From: Nate Lawson To: arch@freebsd.org, acpi@freebsd.org Message-ID: <20040615102506.F27810@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: ACPI mpsafe patch X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 17:31:15 -0000 I've gone through this carefully and have tested it a lot and it appears ready for mainstream testing. I'm especially interested in SMP testing, with and without WITNESS. Run the following script on your system to test it (start 2 or 3 of these): #!/bin/sh sysctl hw.acpi.thermal.polling_rate=1 sysctl hw.acpi.battery.info_expire=1 while [ 1 ]; do apm sysctl hw.acpi done While that's going, use the system normally, suspend/resume, etc. The few parts that aren't done are acpi_video, acpi_asus, and acpi_toshiba. Once I finish these and a couple nits, I'll provide a final patch for testing as well as fix any problems found. http://www.root.org/~nate/freebsd/acpi_mpsafe.diff.gz Thanks, -Nate