[Fwd: cvs commit: src/sys/dev/acpica acpi_cpu.c]

Nate Lawson nate at root.org
Sun Oct 10 23:11:10 PDT 2004

Please test if this slows your system down.  You can run your workload with:


... 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).


-------- 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 <njl at FreeBSD.org>
To: njl at FreeBSD.ORG

njl         2004-10-11 06:06:42 UTC

   FreeBSD src repository

   Modified files:
     sys/dev/acpica       acpi_cpu.c
   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

More information about the freebsd-current mailing list