From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH] Fix clock_gettime to increment monotonically onPV-domain/x86 Date: Fri, 15 Jun 2007 12:19:17 +0200 Message-ID: <467283C5.76E4.0078.0@novell.com> References: <200706150948.l5F9mWQ6004763@fjmscan501.ms.jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <200706150948.l5F9mWQ6004763@fjmscan501.ms.jp.fujitsu.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Atsushi SAKAI Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org I'm afraid this isn't MP-safe - you're in a (pseudo-)read-locked section = of code, yet write a global variable (and even in two pieces). Jan >>> Atsushi SAKAI 15.06.07 11:47 >>> Hi, Keir This patch intends to increment do_gettimeofday monotonically. This is for PV-domain/x86. Signed-off-by: Atsushi SAKAI By applying patch, the time rollback for SMP is fixed. This is important fixes for database software. Thanks Atsushi SAKAI