summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2024-11-08 17:34:23 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2024-11-08 17:34:23 +0000
commit5e5560884a20c45ed0f31c208b906dca65cc38c5 (patch)
tree9391475faca61eafa1ab945520cdf241be1055f0 /libexec
parentcf358e57108bb4994838c09b466f48e0f82342ac (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