Introduce `hotplug_mtx' mutex(9) and make `hotplugread_filtops' MP safe.
authormvs <mvs@openbsd.org>
Fri, 22 Sep 2023 22:12:32 +0000 (22:12 +0000)
committermvs <mvs@openbsd.org>
Fri, 22 Sep 2023 22:12:32 +0000 (22:12 +0000)
commit9e667ebce7840bea34b93d0b2d3d0274017c04ab
tree73242ed0a95720971218353ccb9be2ca2c16a4c2
parent3f55e363f7cf29f121a2949b64d5d7d718958293
Introduce `hotplug_mtx' mutex(9) and make `hotplugread_filtops' MP safe.
Use this mutex(9) to protect `evqueue_head', `evqueue_tail' and
`evqueue_count'.

ok bluhm
sys/dev/hotplug.c