hyperlight-dev / hyperlight-dev/hyperlight

Use sync regs instead of get/set regs on KVM

Đang mở
#200 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.