HomeFreeBSD

hkbd(4): Split driver lock on interrupt and syscons locks

Description

hkbd(4): Split driver lock on interrupt and syscons locks

This allows to mark HID-device interrupt handlers as MP-SAFE.
Atomics-based lockless key event queue with swi_giant taskqueue is used
to pass key-press events into Giant-protected system console.

Reviewed by: hselasky (as part of D27991)

Details

Provenance
wulfAuthored on Nov 9 2020, 7:25 PM
Parents
R10:b93f6bfca343: hid: Port ukbd to HID and attach to build
Branches
Unknown
Tags
Unknown