Re: [PATCH v3 16/18] kvm: x86: Flush only affected TLB entries in kvm_mmu_invlpg*

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

 



On 27/06/2018 23:59, Junaid Shahid wrote:
> +
> +	/*
> +	 * We can only get a non-canonical address here if called through
> +	 * kvm_mmu_invlpg(). So it is ok to ignore it because an INVLPG on a
> +	 * non-canonical address is a NOP according to the Intel SDM.
> +	 */
> +	if (is_noncanonical_address(addr, vcpu))
> +		return;
> +

I moved this check to kvm_mmu_invlpg instead.

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