[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-ia64-devel] PV-on-HVM for IPF (take 3)
Hi Tristan, Thank you for your comment. You (Tristan.Gingold) said: > I have a question about this modification: > void vcpu_flush_vtlb_all(struct vcpu *v) > { > - /* First VCPU tlb. */ > - vcpu_purge_tr_entry(&PSCBX(v,dtlb)); > - vcpu_purge_tr_entry(&PSCBX(v,itlb)); > - > - /* Then VHPT. */ > - vhpt_flush (); > - > - /* Then mTLB. */ > - local_flush_tlb_all (); > + if (VMX_DOMAIN(v)) { > + /* Purge vTLB for VT-i domain */ > + thash_purge_all(v); > + } > + else { > + /* First VCPU tlb. */ > + vcpu_purge_tr_entry(&PSCBX(v,dtlb)); > + vcpu_purge_tr_entry(&PSCBX(v,itlb)); > + > + /* Then VHPT. */ > + vhpt_flush (); > + > + /* Then mTLB. */ > + local_flush_tlb_all (); > + } > > I don't really confortable with this modification. I suppose you have to > made it because of guest_physmap_remove_page. Yes, I modified it because of guest_physmap_remove_page. > You should add least add a comment because it is unusable to see > VMX_DOMAIN() within paravirtualization area. OK. I'll append comment to descibe more detail reason. Thanks, - Tsunehisa Doi _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |