|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [Patch 2/4] Refining Xsave/Xrestore support
Hi, Jan,
This is the updated patch#2. Thanks.
Shan Haitao
2010/10/27 Jan Beulich <JBeulich@xxxxxxxxxx>:
>>@@ -1367,6 +1384,8 @@ static void __context_switch(void)
>> memcpy(stack_regs,
>> &n->arch.guest_context.user_regs,
>> CTXT_SWITCH_STACK_BYTES);
>>+ if ( cpu_has_xsave )
>>+ set_xcr0(n->arch.xcr0);
>
> How slow is a write to xcr0? I.e. is it worth checking whether
> current xcr0 matches the to be written value?
>
> Jan
>
>
pv-xsave.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|