hyperlight-dev / hyperlight-dev/hyperlight
Use sync regs instead of get/set regs on KVM
Đang mở
area/performance
lifecycle/confirmed
- Ngôn ngữ chính
- Rust
- Star
- 4.7k
- Fork
- 208
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 47
Mô tả
KVM has a set of functions (`sync_regs`, `sync_regs_mut`, `clear_sync_dirty_regs`, `clear_sync_valid_regs`, `set_sync_dirty_regs` and `set_sync_valid_regs`) that cause synchronisation of registers without the need to call get/set regs, this improves performance as it means that extra ioctls are not required to retrieve or set registers.
We should replace get/set regs with the appropriate sync functions
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.