WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix incorrect usage on clear_in_cr4

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fix incorrect usage on clear_in_cr4
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 12 Jul 2007 13:51:46 +0800
Delivery-date: Wed, 11 Jul 2007 22:49:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfESLsqtc4Q5BNKTvOzqLW318zvFg==
Thread-topic: [PATCH] Fix incorrect usage on clear_in_cr4
Introduce set/clear_cr4 to modify local CR4, since *_in_cr4
version has side effect on global feature cache - mmu_cr4_features.

For example, VMX feature disable is only local to current CPU.
Another fix is to __pge_off/on which blindly copy mmu_cr4_features.

Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>

Thanks,
Kevin

Attachment: clear_in_cr4.patch
Description: clear_in_cr4.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>