Re: [EXTERNAL] [PATCH] KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30/10/21 09:58, David Woodhouse wrote:
Absolutely!  The fixed version of kvm_map_gfn should not do any
map/unmap, it should do it eagerly on MMU notifier operations.
Staring at this some more... what*currently*  protects a
gfn_to_pfn_cache when the page tables change — either because userspace
either mmaps something else over the same HVA, or the underlying page
is just swapped out and restored?

kvm_cache_gfn_to_pfn calls gfn_to_pfn_memslot, which pins the page.

Paolo




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux