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

Re: [Xen-devel] context switch

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


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
>> special prepare_arch_switch() for Xen. It's really a hangover from
>> initial port from i386.
> Actually, we do still need to be sure to save the segment values
> 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



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