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

RE: [Xen-ia64-devel][PATCH] Enable SMP on VTI domain.


  • To: "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>
  • From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
  • Date: Thu, 29 Jun 2006 22:05:41 +0800
  • Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 29 Jun 2006 07:06:02 -0700
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcabZ+CfmR3bvcv2T92OT4+oYIfvsQAHLRWg
  • Thread-topic: [Xen-ia64-devel][PATCH] Enable SMP on VTI domain.

>From: Isaku Yamahata [mailto:yamahata@xxxxxxxxxxxxx]
>Sent: 2006?6?29? 18:36
>To: Xu, Anthony
>Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-ia64-devel][PATCH] Enable SMP on VTI domain.
>
>On Thu, Jun 29, 2006 at 05:42:27PM +0800, Xu, Anthony wrote:
>
>> >- a race in vmx_process() of vmx_process.c
>> >  The same race was there in ia64_do_page_fault() before.
>> >  The check, (fault == IA64_USE_TLB && !current->arch.dtlb.pte.p), in
>> >  ia64_do_page_fault() avoids this race.
>> VTI-domain doesn't have this issue, which is introduced by 1-entry TLB
>
>VT-i domain introduced v->arch.vtlb instead of 1-entry TLB.
>Similar race can occur with v->arch.vtlb.

The difference is that 1-entry TLB uses pte.p to indicate whether it's valid.
While VTLB uses entry->ti to indicate whether it's valid, which is similar with 
VHPT, there is no issue.

Thanks,
Anthony

>
>--
>yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.