From owner-freebsd-current@FreeBSD.ORG Mon Oct 11 06:11:10 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 9D92916A4CE for ; Mon, 11 Oct 2004 06:11:10 +0000 (GMT) Received: from ylpvm15.prodigy.net (ylpvm15-ext.prodigy.net [207.115.57.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EA2E43D3F for ; Mon, 11 Oct 2004 06:11:10 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.52] (adsl-64-171-187-6.dsl.snfc21.pacbell.net [64.171.187.6])i9B6BLWo013481 for ; Mon, 11 Oct 2004 02:11:21 -0400 Message-ID: <416A23FD.9070001@root.org> Date: Sun, 10 Oct 2004 23:11:09 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040901) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Fwd: cvs commit: src/sys/dev/acpica acpi_cpu.c] 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: Mon, 11 Oct 2004 06:11:10 -0000 Please test if this slows your system down. You can run your workload with: debug.acpi.disabled="cpu" ... to see if there's any difference. On most laptops that support C3, there is BM control and this code won't be used. This only affects systems which indicate they have C3 (via P_LVL3_LAT being < 1000, see acpidump -t) but don't have a PM2_CNT_BLK (== 0, also in acpidump -t). -Nate -------- Original Message -------- Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c Date: Mon, 11 Oct 2004 06:06:45 +0000 (GMT) From: Nate Lawson To: njl@FreeBSD.ORG njl 2004-10-11 06:06:42 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_cpu.c Log: If bus mastering control is not available (PM2_BLK), don't just disable C3. Instead, flush caches before entering C3. This may be slower but provides good power savings. Revision Changes Path 1.44 +28 -17 src/sys/dev/acpica/acpi_cpu.c