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@intel.com> Thanks, Kevin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tian, Kevin
2007-Jul-12 06:09 UTC
[Xen-devel] [PATCH][RESEND] Fix incorrect usage on clear_in_cr4
Previous one failed to apply on latest tip. Please use this updated One instead. Sorry for that. Thanks, Kevin>-----Original Message----- >From: xen-devel-bounces@lists.xensource.com >[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Tian, >Kevin >Sent: 2007年7月12日 13:52 >To: xen-devel@lists.xensource.com >Subject: [Xen-devel] [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@intel.com> > >Thanks, >Kevin_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel