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

RE: [Xen-devel] [PATCH] small adjustment to asm constraintsforc/s19400



>>> "Tian, Kevin" <kevin.tian@xxxxxxxxx> 31.03.09 12:21 >>>
>BTW, another question comes when I'm clearing the code.
>in load_segments, fs/gs base MSRs are only updated for non 32-on-64
>domain. I guess that it's just for performance reason as 32bit guest 
>doesn't require to switch gs base. I want to get your confirmation 
>since in current low level context S3 resume code, we always restore 
>those base MSRs even for 32-on-64 case.

Correct - your code isn't performance sensitive, so keeping it simple is
probably preferable. load_segments() sits in the context switch code, and
thus it tries to avoid things not needed for a particular guest.

Jan


_______________________________________________
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®.