Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sync regs instead of get/set regs on KVM #200

Open
simongdavies opened this issue Jan 29, 2025 · 0 comments
Open

Use sync regs instead of get/set regs on KVM #200

simongdavies opened this issue Jan 29, 2025 · 0 comments
Labels
area/performance Addresses performance lifecycle/needs-review The issue has not yet been reviewed.
Milestone

Comments

@simongdavies
Copy link
Contributor

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

@simongdavies simongdavies added the kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. label Jan 29, 2025
@github-actions github-actions bot added the lifecycle/needs-review The issue has not yet been reviewed. label Jan 29, 2025
@syntactically syntactically added area/performance Addresses performance and removed kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. labels Feb 5, 2025
@danbugs danbugs added this to the Backlog milestone Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance Addresses performance lifecycle/needs-review The issue has not yet been reviewed.
Projects
Status: No status
Development

No branches or pull requests

3 participants