WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

RE: [Xen-ia64-devel] Question about migration

On Sat, 2008-02-02 at 09:43 +0800, Xu, Anthony wrote:
> Kouya Shimura wrote:
> > Hi,
> > 
> > In a SMP machine, complete synchronizing ITCs is impossible.
> Agree,
> 
> But the difference is limited in a small range,
> So, when application is migrated to another CPU, it will see ITC > what
> it saw last time.
> That means, itc difference have to be less than the itc cycle spent on
> process switch.
> Otherwise, linux kernel needs to re sync the ITC.

  The kernel guarantees applications only see time move forward, even
across multiple CPUs.  See:

kernel/timer.c:time_interpolator_get_counter()

We never return a time before last_cycle unless booted with the
"nojitter" options.

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


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