[RFC/RFT PATCH 0/3] arm64: KVM: work around incoherency with uncached guest mappings

Laszlo Ersek lersek at redhat.com
Mon Mar 2 08:55:44 PST 2015


On 03/02/15 17:47, Paolo Bonzini wrote:
> 
> Also, we may want to invalidate the cache for dirty pages before
> returning the dirty bitmap, and probably should do that directly in
> KVM_GET_DIRTY_LOG.

"I agree."

If KVM_GET_DIRTY_LOG is supposed to be atomic fetch and clear (from
userspace's aspect), then the cache invalidation should be an atomic
part of it too (from the same aspect).

(Sorry if I just said something incredibly stupid.)

Laszlo



More information about the linux-arm-kernel mailing list