summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_physio.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2010-06-23 03:46:25 +0000
committerdlg <dlg@openbsd.org>2010-06-23 03:46:25 +0000
commit825bf34316c1b35cfc3eeb8b68b200e7141c034e (patch)
treef0673ec0d3b11fbf96730064a5e0be9fdf5bdd69 /sys/kern/kern_physio.c
parentfix printing of extensions in v01 certificates that I broke in r1.190 (diff)
downloadwireguard-openbsd-825bf34316c1b35cfc3eeb8b68b200e7141c034e.tar.xz
wireguard-openbsd-825bf34316c1b35cfc3eeb8b68b200e7141c034e.zip
switch ami over to using mutexes instead of splbio to protect itself. this
protects the ccb runqueues and the mailbox with a single mutex. the biggest change as a consequence of this is a rewrite of the polled command code. it now forces the polled command onto the chip ahead of the pending runqueue, and simply runs the interrupt handler until the ccb completes. tested by sthen@
Diffstat (limited to 'sys/kern/kern_physio.c')
0 files changed, 0 insertions, 0 deletions