opnsense-src/sys/dev/kbdmux
Alexander Motin 66e088e12b kbdmux(4): Make callout handler mpsafe.
Both callout and taskqueue now have drain() routines not requiring
external locking.  It allows to remove TASK flag and manual drain,
so the only thing remaining for lock to protect inside the callout
handler is ks_inq_length zero comparison, that can be lockless.

MFC after:	2 weeks

(cherry picked from commit e5018628e7)
2021-08-21 20:27:25 -04:00
..
kbdmux.c kbdmux(4): Make callout handler mpsafe. 2021-08-21 20:27:25 -04:00