NetBSD-Bugs archive

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

PR/59437 CVS commit: src/sys/arch/xen/xen



The following reply was made to PR port-xen/59437; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59437 CVS commit: src/sys/arch/xen/xen
Date: Thu, 22 May 2025 12:08:57 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Thu May 22 12:08:57 UTC 2025
 
 Modified Files:
 	src/sys/arch/xen/xen: xen_clock.c
 
 Log Message:
 xen: Use ordered rdtsc() function, rather than inline rdtsc asm.
 
 This will issue either lfence, mfence, or cpuid before the rdtsc
 instruction, depending on the CPU identification, in order to prevent
 reordering with respect to surrounding loads -- particularly those
 used to query the host's systime parameters.
 
 May help with:
 
 PR port-xen/59437: Xen time stability
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.21 -r1.22 src/sys/arch/xen/xen/xen_clock.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index