Re: [Xen-devel] [PATCH 5/6] x86/vmx: Defer vmx_vmcs_exit() as long as possible in construct_vmcs()

2018-06-06 Thread Andrew Cooper
On 06/06/18 10:45, Roger Pau Monné wrote: > On Mon, May 28, 2018 at 03:27:57PM +0100, Andrew Cooper wrote: >> paging_update_paging_modes() and vmx_vlapic_msr_changed() both operate on the >> VMCS being constructed. Avoid dropping and re-acquiring the reference >> multiple times. >> >>

Re: [Xen-devel] [PATCH 5/6] x86/vmx: Defer vmx_vmcs_exit() as long as possible in construct_vmcs()

2018-06-06 Thread Roger Pau Monné
On Mon, May 28, 2018 at 03:27:57PM +0100, Andrew Cooper wrote: > paging_update_paging_modes() and vmx_vlapic_msr_changed() both operate on the > VMCS being constructed. Avoid dropping and re-acquiring the reference > multiple times. > > Signed-off-by: Andrew Cooper > --- > CC: Jan Beulich >

Re: [Xen-devel] [PATCH 5/6] x86/vmx: Defer vmx_vmcs_exit() as long as possible in construct_vmcs()

2018-06-05 Thread Tian, Kevin
> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Monday, May 28, 2018 10:28 PM > > paging_update_paging_modes() and vmx_vlapic_msr_changed() both > operate on the > VMCS being constructed. Avoid dropping and re-acquiring the reference > multiple times. > Acked-by: Kevin Tian

[Xen-devel] [PATCH 5/6] x86/vmx: Defer vmx_vmcs_exit() as long as possible in construct_vmcs()

2018-05-28 Thread Andrew Cooper
paging_update_paging_modes() and vmx_vlapic_msr_changed() both operate on the VMCS being constructed. Avoid dropping and re-acquiring the reference multiple times. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Jun Nakajima