diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2009-08-25 01:13:10 -0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 18:10:50 +0300 |
commit | 6ba661787594868512a71c129062ebd57d0c01e7 (patch) | |
tree | 459f0c6af3b8c478807f774921fd4ea3ad0121ad /arch/x86/kvm/x86.c | |
parent | 65a82211636f156a276cac3f8665605ae18f371f (diff) |
KVM guest: do not batch pte updates from interrupt context
Commit b8bcfe997e4 made paravirt pte updates synchronous in interrupt
context.
Unfortunately the KVM pv mmu code caches the lazy/nonlazy mode
internally, so a pte update from interrupt context during a lazy mmu
operation can be batched while it should be performed synchronously.
https://bugzilla.redhat.com/show_bug.cgi?id=518022
Drop the internal mode variable and use paravirt_get_lazy_mode(), which
returns the correct state.
Cc: stable@kernel.org
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions