Subject: CVS commit: src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Jed Davis <jld@netbsd.org>
List: source-changes
Date: 03/07/2006 23:08:14
Module Name:	src
Committed By:	jld
Date:		Tue Mar  7 23:08:14 UTC 2006

Modified Files:
	src/sys/arch/xen/i386: identcpu.c
	src/sys/arch/xen/xen: clock.c

Log Message:
Improve timekeeping under Xen.  Specifically, replace use of
cc_microtime with a MD function that isn't affected by erratic "clock
interrupts" and instead takes more advantage of time information
provided by the hypervisor.  Fixes, most importantly, a case where the
clock as seen by userland would sometimes bounce back and forth by up to
1<<31 us (~35 min).

Approved by bouyer@; explained in more detail in
http://mail-index.netbsd.org/port-xen/2006/02/28/0002.html


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/arch/xen/i386/identcpu.c
cvs rdiff -r1.17 -r1.18 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.