diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-11-23 12:40:05 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-11-23 12:40:05 +0000 |
commit | 0702e6ae83100e0c0382f64eadf0ed7acd29f8a9 (patch) | |
tree | c739f657258afd5c688dceb56112f300794b577d /sys/kern | |
parent | 9906059af890df72b113ee8169fd777c2b645b3d (diff) |
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')
0 files changed, 0 insertions, 0 deletions