]> 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)
commit2817f8eb4fa110ec9520a934ca4443f8ba298e9f
treeefe502b1e3302e2e0930a96830217984e76be3b5
parent24f2d8ccab73886979d5b160463a51e96dba22d4
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