You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enable zeroing scratch with MADV_DONTNEED on MSHV #2112
A-perfAddresses performanceC-enhancementFor PRs adding features, improving functionality, docs, tests, etc.O-linuxLinux host supportO-mshvLinux MSHV backend for Microsoft Hyper-VS-needs-triageThe issue has not yet been reviewed.
Newer mshv_root drivers use movable memory regions, which make MADV_DONTNEED safe. Older drivers pin guest memory, so the host and guest views diverge.
Movable regions are in Azure Linux kernel-mshv 6.6.121.mshv1 and later, all 6.18 builds, and mainline 6.19 and later. The driver exposes no flag, so Hyperlight must check the kernel release. Related: #2100.
A-perfAddresses performanceC-enhancementFor PRs adding features, improving functionality, docs, tests, etc.O-linuxLinux host supportO-mshvLinux MSHV backend for Microsoft Hyper-VS-needs-triageThe issue has not yet been reviewed.
Activity
[-]Zero scratch with MADV_DONTNEED on MSHV[/-][+]Enable zeroing scratch with MADV_DONTNEED on MSHV[/+]