Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 592033

Summary: race condition in pvclock wallclock calculation
Product: Red Hat Enterprise Linux 6 Reporter: Glauber Costa <gcosta>
Component: kernelAssignee: Glauber Costa <gcosta>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: qcai, szhou, tburke, virt-maint, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 592021 Environment:
Last Closed: 2010-11-11 16:11:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 592021    
Bug Blocks: 533943, 580948    

Description Glauber Costa 2010-05-13 18:01:39 UTC
+++ This bug was initially created as a clone of Bug #592021 +++

The hypervisor code for wallclock setting in pvclock is subject to race, since the version variable is static, and thus, shared among all guests.

This means that theoretically, one guest can mess up with the others view of version, causing it to be different among reads, which can lead to a livelock.

Comment 1 RHEL Program Management 2010-05-13 19:06:40 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 2 Aristeu Rozanski 2010-05-28 20:37:41 UTC
Patch(es) available on kernel-2.6.32-31.el6

Comment 5 Shirley Zhou 2010-08-17 07:37:01 UTC
Verify this bug with kernel-2.6.32-63.el6 as following:

1. sync time on host
ntpdate -b clock.redhat.com
2. Run 4 rhel6 guest on host with option
 -no-kvm-pit-reinjection   -rtc base=utc,clock=host,driftfix=slew
3.check time info  on each guest
ntpdate -q clock.redhat.com

There is no huge time drift happens on each guest.

So I think this bug has been fixed. change status to verified.

Comment 6 releng-rhel@redhat.com 2010-11-11 16:11:27 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.