Date: Fri, 13 Aug 2004 06:21:44 +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: <200408130621.i7D6LiGC070922@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004-08-13 06:21:44 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_cmbat.c Log: MPSAFE locking * Serialize ops in acpi_cmbat_notify_handler(), acpi_cmbat_ioctl(), acpi_cmbat_init_battery(), and acpi_cmbat_get_battinfo(). * Get the softc directly in acpi_cmbat_get_total_battinfo() rather than build an array of them. * Don't queue a _BIF query after receiving a notify. Since we clear the timespec, a _BIF query will be done in the context of the next caller. * Add asserts to leaf functions that operate on shared data. * Remove the bst/bif updating flags now that we hold the lock over the full query. * Explain various comments in more detail. Revision Changes Path 1.35 +125 -169 src/sys/dev/acpica/acpi_cmbat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408130621.i7D6LiGC070922>