want segment driver for vmm applications
Upstreaming SmartOS OS-6549:
Applications such as the coming bhyve will want userspace access to the regions of kmem allocated to be the guest memory. While seg_umap exists to achieve a similar purpose, it was designed to be very constrained (a single page) in its capabilities. Rather than updating that for now, a new segment driver with lessened restrictions could be created.
Updated by Patrick Mooney about 2 years ago
Without bhyve as a consumer, there is little available to test this. I compared the to-be committed patch with what's present downstream in illumos-joyent to ensure there weren't differences. Additionally, I booted an illumos-gate built with the patch to confirm it didn't introduce a bug via something like missing symbols.
Updated by Electric Monk about 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit 4beb21b1d94ca2e60959502f85aaae16f22c01e2 Author: Patrick Mooney <firstname.lastname@example.org> Date: 2020-04-27T16:06:25.000Z 12553 want segment driver for vmm applications Reviewed by: Mike Gerdts <email@example.com> Reviewed by: Hans Rosenfeld <firstname.lastname@example.org> Reviewed by: Jerry Jelinek <email@example.com> Reviewed by: Gordon Ross <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>