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

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.