cvs commit: src/sys/dev/acpica acpi_cmbat.c
njl at FreeBSD.org
Wed Nov 23 00:57:52 GMT 2005
njl 2005-11-23 00:57:51 UTC
FreeBSD src repository
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
More information about the cvs-src