Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Right now, the Crucible upstairs spends a lot of time fighting over the lock on the single `Mutex<Downstairs>`. Eventually, I'd like to move data into separate per-downstairs tasks that own their data and communicate via message-passing (see oxidecomputer/omicron#4332). This PR is a (mostly) purely mechanical step in that direction: it converts a bunch of individual `ClientData<T>` into a single `ClientData<DownstairsClient>`; basically a struct-of-arrays → array-of-structs transform. Then, functions which only use data within a single `DownstairsClient` are moved into members functions on that struct.
- Loading branch information