diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-11-08 17:34:23 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-11-08 17:34:23 +0000 |
commit | 5e5560884a20c45ed0f31c208b906dca65cc38c5 (patch) | |
tree | 9391475faca61eafa1ab945520cdf241be1055f0 /libexec | |
parent | cf358e57108bb4994838c09b466f48e0f82342ac (diff) |
Use a mutex to make psp(4) MP safe.
To avoid a race between writing PSP command, sleeping, receiving
interrupt, and calling wakeup(9), protect psp(4) driver with a
mutex. With that interrupt handler is MP safe and ioctl(2) can
release kernel lock.
from hshoexer@; OK dlg@
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions