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

Re: [Xen-devel] context switch

Kier,
What are your thoughts on having a mechanism to manage hypervisor
preemption from guest kernels?

Regards,

K. Y

>>> On Tue, Mar 28, 2006 at  3:56 pm, in message
<8faa95f64ad61af657bdda6b115b5fd4@xxxxxxxxxxxx>, Keir Fraser
<Keir.Fraser@xxxxxxxxxxxx> wrote: 

> On 28 Mar 2006, at 20:35, Keir Fraser wrote:
> 
>> We should probably just rely on the failsafe_handler actually 
>> (assuming it now works :- ) ).
>>
>> That 'slow path' will be taken so infrequently it's not worth having
a 
>> special prepare_arch_switch() for Xen. It's really a hangover from
the 
>> initial port from i386.
> 
> Actually, we do still need to be sure to save the segment values
before 
> switching TLS/LDT, so I guess we do need most of prepare_arch_switch

> even on x86/64.
> 
> We can't do the work in switch_mm() since lazy tlb logic may cause it

> to not be executed. And switch_to() is too late.
> 
>   --  Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>