summaryrefslogtreecommitdiff
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorWanpeng Li <wanpengli@tencent.com>2021-04-23 16:23:20 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-23 17:00:50 -0400
commit9c1a07442c95f6e64dc8de099e9f35ea73db7852 (patch)
tree071c9494694a03f93f60f50364ad3a096ddd5016 /mm/filemap.c
parentbf05bf16c76bb44ab5156223e1e58e26dfe30a88 (diff)
KVM: x86/xen: Take srcu lock when accessing kvm_memslots()
kvm_memslots() will be called by kvm_write_guest_offset_cached() so we should take the srcu lock. Let's pull the srcu lock operation from kvm_steal_time_set_preempted() again to fix xen part. Fixes: 30b5c851af7 ("KVM: x86/xen: Add support for vCPU runstate information") Signed-off-by: Wanpeng Li <wanpengli@tencent.com> Message-Id: <1619166200-9215-1-git-send-email-wanpengli@tencent.com> Reviewed-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions