hyperlight-dev / hyperlight-dev/hyperlight

Use sync regs instead of get/set regs on KVM

Aperta
#200 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area/performance lifecycle/confirmed
Lingua principale
Rust
Stelle
4.7k
Fork
208
Merge medio
1g 7h
PR unite (30g)
47

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.