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

[Xen-devel] [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

 


Rackspace

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