This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel][PATCH 01/02] pvrdtscp: move the place of write_rdtscp_aux()

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel][PATCH 01/02] pvrdtscp: move the place of write_rdtscp_aux()
From: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>
Date: Fri, 11 Dec 2009 19:53:37 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 11 Dec 2009 03:54:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acp6WJLNsQ+sGRNTTBeC0g5pWtNd1g==
Thread-topic: [Xen-devel][PATCH 01/02] pvrdtscp: move the place of write_rdtscp_aux()
 Pvrdtscp: move write_rdtscp_aux() to paravirt_ctxt_switch_to()
 - Currently write_rdtscp_aux() is placed in update_vcpu_system_time(), which
is called by schedule() before context_switch(). This will break the HVM guest
TSC_AUX state because at this point, MSR hasn't beed saved for HVM guests.So
put the function in the point when a PV vcpu is really scheduled in. 

Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx>

Attachment: 01-write-pvrdtscp-tsc-aux.patch
Description: 01-write-pvrdtscp-tsc-aux.patch

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>