KVM Changes For Linux 5.4 Fix Performance Regression, Add UMWAIT Support
A second batch of Kernel-based Virtual Machine (KVM) changes for the Linux 5.4 kernel have landed.
The first pull of KVM changes for Linux 5.4 last week weren't too exciting. That original pull brought support on ARM for up to 512 virtual CPUs, an ARM ITS translation cache, IPI x86 optimizations, and a wide variety of x86 bug fixes.
Sent out on Friday and since merged to mainline were a second batch of KVM changes arguably more interesting than the first:
- Improvements for nested virtualization.
- Restoring some performance optimizations that were accidentally removed in Linux 5.2.
- Support for the new Intel UMWAIT, UMONITOR, and TPAUSE instructions. UMWAIT is a power-savings feature coming initially with the "Tremont" cores and allows for a lightweight power/performance state.
- Support for informing Microsoft Windows guests if SMT is disabled by the host.
- Better detection of VMEXIT costs.
And the other assortment of fixes and improvements. The complete list can be found via the PR.