Date: Wed, 23 Nov 2005 00:57:51 +0000 (UTC) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_cmbat.c Message-ID: <200511230057.jAN0vpRe002623@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2005-11-23 00:57:51 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_cmbat.c
Log:
Try to fix problems with periodic hangs by never directly calling _BIF.
Instead, re-evaluate _BIF only when we get a notify and use the cached
results. We also still evaluate _BIF once on boot. Also, optimize the
init loop a little by only querying for a particular info if it's not valid.
MFC after: 2 days
Revision Changes Path
1.42 +34 -22 src/sys/dev/acpica/acpi_cmbat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511230057.jAN0vpRe002623>
