[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] x86's context switch ordering of operations
>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 29.04.08 15:58 >>> >Um, good point, I'd forgotten exactly how the code fitted together. Anyhow, >the reason you see ctxt_switch_{from,to} happening after set_current() is >because context_switch() and __context_switch() can actually be decoupled. >When switching to the idle vcpu we run context_switch() but we do not run >__context_switch(). Okay, that could be easily dealt with by doing set_current() explicitly in the switch-to-idle case, and moving it into __context_switch() in the other cases. Any word on the significance of doing write_ptbase() after calling ctxt_switch_to()? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |