Hi Manuel, On 23 October 2011 04:12, Manuel Bouyer <bou...@netbsd.org> wrote: > Module Name: src > Committed By: bouyer > Date: Sat Oct 22 22:42:21 UTC 2011 > > Modified Files: > src/sys/arch/xen/xen [cherry-xenmp]: clock.c > > Log Message: > More improvements: > - Precise what tmutex protects > - springle some KASSERT(mutex_owned(&tmutex)) > - the system time uses the CPU timecounter to get some precision; > don't mix local CPU timecounter with VCPU0's time, it won't work well. > Always use curcpu()'s time. > > > To generate a diff of this commit: > cvs rdiff -u -r1.54.6.6 -r1.54.6.7 src/sys/arch/xen/xen/clock.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > >
Thanks for this - I'm curious to know if this fixes the clock drift that has been reported on port-xen@ Thanks, -- ~Cherry