|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] context switch
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
|
|
|
|
|