On 08.05.23 11:19, Mathias Krause wrote:
[...]
I'll post the backports I did and maybe can convince you as well that it's not all that bad ;) But I see your proposal patch [3] got merged in the meantime and is cc:stable. Might make sense to re-do my benchmarks after it got applied to the older kernels.
I just sent out the backports to the mailing list, please have a look!
The benchmark numbers are still the old ones I did three weeks ago. However, seeing what's needed for the backport might give you a better feeling for the impact.
I'll refresh the series if there's demand and when edbdb43fc96b ("KVM: x86: Preserve TDP MMU roots until they are explicitly invalidated") got merged into the relevant kernels.
v6.2: https://lore.kernel.org/stable/20230508154457.29956-1-minipli@grsecurity.net... v6.1: https://lore.kernel.org/stable/20230508154602.30008-1-minipli@grsecurity.net... v5.15: https://lore.kernel.org/stable/20230508154709.30043-1-minipli@grsecurity.net... v5.10: https://lore.kernel.org/stable/20230508154804.30078-1-minipli@grsecurity.net... v5.4: https://lore.kernel.org/stable/20230508154943.30113-1-minipli@grsecurity.net...
Thanks, Mathias