[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] x86/HVM: drop memory_type_changed() call from hvm_set_guest_pat()
commit c94e724a09b309a06257b3cb16db091e76fd881a Author: Li Liang <liangx.z.li@xxxxxxxxx> AuthorDate: Fri Aug 22 14:34:01 2014 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Aug 22 14:34:01 2014 +0200 x86/HVM: drop memory_type_changed() call from hvm_set_guest_pat() The commit aa9114edd added the needless function call memory_type_changed, it is unnessary because the PAT content does not influence the result of epte_get_entry_emt(). If it is called, the cache will be flushed excessively and make the nested guest very slowly, just like blocked. Signed-off-by: Li Liang <liangx.z.li@xxxxxxxxx> --- xen/arch/x86/hvm/hvm.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index d40c48e..e8f41c1 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -257,8 +257,6 @@ int hvm_set_guest_pat(struct vcpu *v, u64 guest_pat) if ( !hvm_funcs.set_guest_pat(v, guest_pat) ) v->arch.hvm_vcpu.pat_cr = guest_pat; - memory_type_changed(v->domain); - return 1; } -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |