]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MPSAFE locking
authornjl <njl@FreeBSD.org>
Fri, 13 Aug 2004 06:22:35 +0000 (06:22 +0000)
committernjl <njl@FreeBSD.org>
Fri, 13 Aug 2004 06:22:35 +0000 (06:22 +0000)
commit5e14731c016f2c72839a2bdb3be0cad21b6b53ff
tree1b12cf06551bba56fc9791951e482c76bea23aa7
parent86267b019775dd4b483c5f32295a3f84fbda460a
MPSAFE locking

* Serialize access to the sysctl routines and the notify handler
* Assert that the sx lock is held in any functions they call.
* Note that recursively calling to re-enable the hotkeys is sub-optimal.
sys/dev/acpi_support/acpi_toshiba.c
sys/i386/acpica/acpi_toshiba.c