]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: disable shattered huge page recovery for PREEMPT_RT.
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Nov 2019 14:47:06 +0000 (15:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Nov 2019 14:47:06 +0000 (15:47 +0100)
commit754f6e4ba1ab8dbee0a7588d78f0cc61b8a7cd8f
treeefe502b1e3302e2e0930a96830217984e76be3b5
parente723ffde9b19be556dad69fe497e58cad7c57e0f
kvm: x86: disable shattered huge page recovery for PREEMPT_RT.

If a huge page is recovered (and becomes no executable) while another
thread is executing it, the resulting contention on mmu_lock can cause
latency spikes.  Disabling recovery for PREEMPT_RT kernels fixes this
issue.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c