summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2016-11-23 12:40:04 +0000
committermikeb <mikeb@openbsd.org>2016-11-23 12:40:04 +0000
commite396cda7289ea5c6ef91771e16d66d83169720b7 (patch)
treee91df63cdb8263822f0f4e489245b861a3aa7a6e /sys/kern/uipc_socket.c
parentTest that af-to cannot be used together with route-to, reply-to, dup-to. (diff)
downloadwireguard-openbsd-e396cda7289ea5c6ef91771e16d66d83169720b7.tar.xz
wireguard-openbsd-e396cda7289ea5c6ef91771e16d66d83169720b7.zip
Move as much code out of a startup hook as possible
To be able to perform asynchronous operations early we need to have a robust polling mechanism with flexible condition check semantics. A new hv_wait interface provides such facilities. Right now hvn(4) submits NVS commands and sleeps waiting for a interrupt to fire and run the completion code and it will take some effort to convert this code to be able to poll instead of tsleep. But VMBus attachment, channel scanning, etc can done at an earlier stage. Lets see if this sticks.
Diffstat (limited to 'sys/kern/uipc_socket.c')
0 files changed, 0 insertions, 0 deletions