Re: [PATCH] KVM: x86/mmu: Always guard rmaps with mmu_lock on PREEMPT_RT=y kernels
From: Sean Christopherson
Date: Mon Sep 21 2026 - 11:39:01 EST
On Wed, 02 Sep 2026 14:17:59 -0700, Sean Christopherson wrote:
> For all intents and purposes, revert KVM's ability to walk rmaps outside of
> mmu_lock when running on a realtime (PREEMPT_RT=y) kernel. I.e. don't use
> a non-sleepable bit-spinlock to protect rmap entries, as realtime kernels
> are highly unlikely to benefit from increased aging throughput and reduced
> jitter for memory-overcommitted nested VMs, whereas using a non-sleepable
> lock is currently buggy and goes against the spirit of realtime kernels.
>
> [...]
Applied to kvm-x86 mmu, thanks!
[1/1] KVM: x86/mmu: Always guard rmaps with mmu_lock on PREEMPT_RT=y kernels
https://github.com/kvm-x86/linux/commit/df269c8e097f
--
https://github.com/kvm-x86/linux/tree/next