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][SVM] Remove more MSR intercepts that are redundant.

To: "Keir Fraser" <keir@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Woller, Thomas" <thomas.woller@xxxxxxx>
Subject: [Xen-devel] [PATCH][SVM] Remove more MSR intercepts that are redundant.
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 3 Apr 2007 14:18:24 +0200
Delivery-date: Tue, 03 Apr 2007 05:17:32 -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: Acd16izAVcUaBwSXQNuVEFKE0tq1uw==
Thread-topic: [PATCH][SVM] Remove more MSR intercepts that are redundant.
Further to yesterdays patch removing FS/GS-base MSR intercepts, this
patch:
1. Removes intercept of guest-specific MSRs
MSR_IA32_SYSENTER_{CS,ESP,EIP}, MSR_{L,C,}STAR, MSR_SYSCALL_MASK,
MSR_SHADOW_GS_BASE. 
2. Removes code to deal with those intercepts, as well as the
FS/GS-base. Since long_mode_do_msr_read now became essentially a switch
of a single case + default, I removed the entire function and inlined
the remaining single case-statement into the original MSR-access
function. 

In a normal system, this probably doesn't improve performance (or
otherwise affect anything), but it removes some code that isn't needed -
which I think is as good a reason as any. 

I'd appreciate if this is applied. 

Applies to c/s: 14967

Signed off by: Mats Petersson <mats.petersson@xxxxxxx>


--
Mats

Attachment: patch.less_msr_intercepts
Description: patch.less_msr_intercepts

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][SVM] Remove more MSR intercepts that are redundant., Petersson, Mats <=