Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2020 11:16:40 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        Michael Reifenberger <mr@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r358848 - in head/sys/amd64/vmm: intel io
Message-ID:  <961b3c75-49d9-824f-b3c4-a7df1f6472a4@FreeBSD.org>
In-Reply-To: <202003101653.02AGroUB005254@repo.freebsd.org>
References:  <202003101653.02AGroUB005254@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/10/20 9:53 AM, Michael Reifenberger wrote:
> Author: mr
> Date: Tue Mar 10 16:53:49 2020
> New Revision: 358848
> URL: https://svnweb.freebsd.org/changeset/base/358848
> 
> Log:
>   Untangle TPR shadowing and APIC virtualization.
>   This speeds up Windows guests tremendously.
>   
>   The patch does:
>   Add a new tuneable 'hw.vmm.vmx.use_tpr_shadowing' to disable TLP shadowing.
>   Also add 'hw.vmm.vmx.cap.tpr_shadowing' to be able to query if TPR shadowing is used.
>   
>   Detach the initialization of TPR shadowing from the initialization of APIC virtualization.
>   APIC virtualization still needs TPR shadowing, but not vice versa.
>   Any CPU that supports APIC virtualization should also support TPR shadowing.
>   
>   When TPR shadowing is used, the APIC page of each vCPU is written to the VMCS_VIRTUAL_APIC field of the VMCS
>   so that the CPU can write directly to the page without intercept.
>   
>   On vm exit, vlapic_update_ppr() is called to update the PPR.
>   
>   Submitted by:	Yamagi Burmeister
>   MFC after:	2 weeks
>   Differential Revision:	https://reviews.freebsd.org/D22942

Reviewed by:	grehan

Also, it is still good form to wrap the commit logs to fit in
80 cols.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?961b3c75-49d9-824f-b3c4-a7df1f6472a4>