On Thu, May 11, 2023 at 08:24:59PM -0400, Sasha Levin wrote:
On Mon, May 08, 2023 at 05:44:52PM +0200, Mathias Krause wrote:
This is a backport of the CR0.WP KVM series[1] to Linux v6.2. All
commits applied either clean or with only minor changes needed to
account for missing prerequisite patches, e.g. the lack of a
kvm_is_cr0_bit_set() helper for patch 5 or the slightly different
surrounding context in patch 4 (__always_inline vs. plain inline for
to_kvm_vmx()).
I used 'ssdd 10 50000' from rt-tests[2] as a micro-benchmark, running on
a grsecurity L1 VM. Below table shows the results (runtime in seconds,
lower is better):
legacy TDP shadow
Linux v6.2.10 7.61s 7.98s 68.6s
+ patches 3.37s 3.41s 70.2s
The KVM unit test suite showed no regressions.
Please consider applying.
On our end waiting for ack from the KVM maintainers.
Just saw Sean's reply. Queueing up, thanks!
--
Thanks,
Sasha